ALTER TABLE "public"."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 "public"."adm_device_definition"."item_min_quantity" IS '最小库存警戒数量(常规单位)';

COMMENT ON COLUMN "public"."adm_device_definition"."item_max_quantity" IS '最大库存警戒数量(常规单位)';






-- 向迁移历史表插入记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202508011554 adm_device_definition', '1.0.0');