All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smilego.tenant.flyway.MasterFlywayConfig Maven / Gradle / Ivy

Go to download

A application used as an example on how to set up pushing its components to the Central Repository.

There is a newer version: 1.2.5
Show newest version
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