迁移:将DB变更记录SQL文件移动到sql目录下

This commit is contained in:
2026-01-13 10:05:32 +08:00
parent cb268fe26d
commit ebd2e8aa75
131 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
ALTER TABLE "adm_device_definition"
ADD COLUMN "item_min_quantity" numeric(20,6) NOT NULL DEFAULT 0,
ADD COLUMN "item_max_quantity" numeric(20,6) NOT NULL DEFAULT 0;
COMMENT ON COLUMN "adm_device_definition"."item_min_quantity" IS '最小库存警戒数量(常规单位)';
COMMENT ON COLUMN "adm_device_definition"."item_max_quantity" IS '最大库存警戒数量(常规单位)';
-- 向迁移历史表插入记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202508011554 adm_device_definition', '1.0.0');