Przeglądaj źródła

修改news表结构

wanghui 8 lat temu
rodzic
commit
54133a5403
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      schema/20170821-alert.sql

+ 3 - 1
schema/20170821-alert.sql

@@ -1,2 +1,4 @@
 alter table achievement add column jmrh_flag int(1) default 0 comment '是否属于军民融合';
-alter table news add column jmrh_flag int(1) default 0 comment '是否属于军民融合';
+alter table news add column jmrh_flag int(1) default 0 comment '是否属于军民融合';
+alter table news add column province_id int(4) default 0 comment '新闻发布省份';
+update news set province_id = 11;