类 Y9MultiTenantSpringLiquibase
- java.lang.Object
-
- net.risesoft.liquibase.Y9MultiTenantSpringLiquibase
-
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
public class Y9MultiTenantSpringLiquibase extends Object implements org.springframework.beans.factory.InitializingBean
- 从以下版本开始:
- 9.6.3
- 作者:
- shidaobang
- Date:
- 2023/10/18
-
-
方法详细资料
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- 指定者:
afterPropertiesSet在接口中org.springframework.beans.factory.InitializingBean- 抛出:
Exception
-
updateAll
public void updateAll() throws liquibase.exception.LiquibaseException更新所有租户数据源的表结构- 抛出:
liquibase.exception.LiquibaseException- - all Liquibase exceptions.
-
update
public void update(String tenantId) throws liquibase.exception.LiquibaseException
更新单个租户数据源的表结构- 参数:
tenantId- 租户id- 抛出:
liquibase.exception.LiquibaseException- - all Liquibase exceptions.
-
-