Переглянути джерело

1、更新数据库脚本

MY 2 тижнів тому
батько
коміт
0e46134bb2
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      JLHHJSvr/DBA/ParkDBVersion.cs

+ 3 - 1
JLHHJSvr/DBA/ParkDBVersion.cs

@@ -30,7 +30,7 @@ namespace JLHHJSvr.DBA
     {
         protected override string currentVersion
         {
-            get { return "1.0.251022"; }
+            get { return "1.0.251203"; }
         }
 
         protected override string dbname
@@ -330,6 +330,8 @@ 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)", ""),
 new Script("1.0.251022", @"ALTER TABLE u_mattress_mx_mtrl ADD sidecover decimal(18, 5) NOT NULL CONSTRAINT DF_u_mattress_mx_mtrl_sidecover DEFAULT(0)", ""),
+new Script("1.0.251203", @"ALTER TABLE u_softbed_mx ADD parts_type VARCHAR(20) NOT NULL CONSTRAINT DF_u_softbed_mx_parts_type DEFAULT('')", ""),
+new Script("1.0.251203", @"ALTER TABLE u_softbed_mx ADD pzname VARCHAR(20) NOT NULL CONSTRAINT DF_u_softbed_mx_pzname DEFAULT('')", ""),
                 };
             }
         }