本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
server
/
formallProject
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
[积分][修改]:用户积分添加默认值0 SQL
release_toaliyun_real
hanxueda
7 年之前
父節點
76b8d3ab3f
當前提交
523b64fe66
共有
1 個檔案被更改
,包括
4 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
mallinkAdmin/src/main/resources/db/migration/V201904231317__ADD_DEFAULT_ZERO_CREDIT.sql
+ 4
- 0
mallinkAdmin/src/main/resources/db/migration/V201904231317__ADD_DEFAULT_ZERO_CREDIT.sql
查看文件
@@ -0,0 +1,4 @@
alter table wx_c_user_basic_info alter column credit set default 0;
alter table wx_c_user alter column credit set default 0;
update wx_c_user_basic_info set credit = 0 where credit is null;
update wx_c_user set credit = 0 where credit is null;
Write
Preview
Loading…
取消
儲存