DROP TABLE IF EXISTS wflow_models; CREATE TABLE wflow_models ( form_id varchar(40), process_def_id varchar(40), deploy_id varchar(40), version int4 NOT NULL DEFAULT 1, form_name varchar(50), logo json, settings json, group_id int8, form_items json NOT NULL, process json NOT NULL, remark varchar(125), sort int4 NOT NULL, is_delete BOOL, is_stop BOOL, created timestamp, updated timestamp, CONSTRAINT "wflow_models_pri" PRIMARY KEY ("form_id") )