瀏覽代碼

修改news表结构

wanghui 8 年之前
父節點
當前提交
54133a5403
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;