瀏覽代碼

1、补充新增数据库语句

MY 3 天之前
父節點
當前提交
296c391161
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      JLHHJSvr/DBA/ParkDBVersion.cs

+ 2 - 1
JLHHJSvr/DBA/ParkDBVersion.cs

@@ -30,7 +30,7 @@ namespace JLHHJSvr.DBA
     {
         protected override string currentVersion
         {
-            get { return "1.0.250923"; }
+            get { return "1.0.251010"; }
         }
 
         protected override string dbname
@@ -328,6 +328,7 @@ BEGIN
     ');
 END
 ", ""),
+new Script("1.0.251010", @"ALTER TABLE u_mattress ADD total_mtrl_hr_cost decimal(18, 5) NOT NULL CONSTRAINT DF_u_mattress_total_mtrl_hr_cost DEFAULT(0)", ""),
                 };
             }
         }