杭州市委办项管
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.

20 lines
660B

  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 text,
  9. settings text,
  10. group_id int8,
  11. form_items text,
  12. process text,
  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);