Files
his/迁移记录-DB变更记录/202509031300alter_table_doc_statistics_definiton.sql
2025-12-10 14:20:24 +08:00

9 lines
470 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ALTER TABLE "public"."doc_statistics_definition"
ADD COLUMN "unit" varchar(50) COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
COMMENT ON COLUMN "public"."doc_statistics_definition"."unit" IS '统计值单位如“次”“mg”“分钟”等';
-- 插入文档统计表格结构修改的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202509031300alter_table_doc_statistics_definiton', '1.0.0');