Ver código fonte

[migration][新增]:flyway java migration 修改

release_toaliyun_real
Stormeye Wu 7 anos atrás
pai
commit
7efcc6d283
1 arquivos alterados com 3 adições e 1 exclusões
  1. +3
    -1
      mallinkAdmin/src/main/java/com/iformall/migration/V201904271650__Update_User_Role.java

+ 3
- 1
mallinkAdmin/src/main/java/com/iformall/migration/V201904271650__Update_User_Role.java Ver arquivo

@@ -18,7 +18,9 @@ public class V201904271650__Update_User_Role extends BaseJavaMigration {


public void migrate(Context context) throws Exception { public void migrate(Context context) throws Exception {
// 获取 tenantId list // 获取 tenantId list
// 获取 mall_user_role
// 获取 现有的 mall_user_role
// 删除已有的用户role
// 添加所有的权限到数据库
/* /*
try (Statement select = context.getConnection().createStatement()) { try (Statement select = context.getConnection().createStatement()) {
try (ResultSet rows = select.executeQuery(getTenantIdList)) { try (ResultSet rows = select.executeQuery(getTenantIdList)) {


Carregando…
Cancelar
Salvar