diff --git a/script/sql/postgresql/update.sql b/script/sql/postgresql/update.sql index b0febc8..5fa11fe 100644 --- a/script/sql/postgresql/update.sql +++ b/script/sql/postgresql/update.sql @@ -135,4 +135,5 @@ ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL; COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表'; --增加edit_columns字段 -ALTER TABLE `gen_table` ADD COLUMN `edit_columns` TINYINT NULL DEFAULT 1 AFTER `remark`; +ALTER TABLE "gen_table" ADD "edit_columns" SMALLINT NULL DEFAULT '1'; +COMMENT ON COLUMN "gen_table"."edit_columns" IS '编辑列数';