Explorar o código

修改news表结构

wanghui %!s(int64=8) %!d(string=hai) anos
pai
achega
54133a5403
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 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;