Sfoglia il codice sorgente

[积分][修改]:用户积分添加默认值0 SQL

release_toaliyun_real
hanxueda 7 anni fa
parent
commit
523b64fe66
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +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 Vedi File

@@ -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;

Caricamento…
Annulla
Salva