杭州市委办项管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wflow_model_historys.sql 704B

1 year ago
1 year ago
1234567891011121314151617181920
  1. DROP TABLE IF EXISTS wflow_model_historys;
  2. CREATE TABLE wflow_model_historys (
  3. id bigserial NOT NULL,
  4. process_def_id varchar(40),
  5. form_id varchar(40) NOT NULL,
  6. form_name varchar(40) NOT NULL,
  7. version int4 NOT NULL DEFAULT 0,
  8. logo json NOT NULL,
  9. settings json NOT NULL,
  10. group_id int8 NOT NULL,
  11. form_items json NOT NULL,
  12. process json NOT NULL,
  13. remark varchar(255),
  14. created timestamp NULL DEFAULT NULL,
  15. region_code varchar(50),
  16. process_type int4,
  17. node_map text,
  18. CONSTRAINT "wflow_model_historys_pri" PRIMARY KEY ("id")
  19. )
  20. CREATE UNIQUE INDEX form_id_uk ON wflow_model_historys(form_id,version);