io.smilego.tenant.flyway.MasterFlywayConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-tenant-spring-boot-starter Show documentation
Show all versions of multi-tenant-spring-boot-starter Show documentation
A application used as an example on how to set up pushing
its components to the Central Repository.
package io.smilego.tenant.flyway;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
@ConditionalOnProperty(name = "multitenancy.master.flyway.enabled", havingValue = "true", matchIfMissing = false)
public class MasterFlywayConfig {
@Bean
MasterFlywayMigrationInitializer masterFlywayMigrationInitializer(){
return new MasterFlywayMigrationInitializer();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy