Explorar el Código

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

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
7efcc6d283
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 fichero

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

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


Cargando…
Cancelar
Guardar