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

io.smilego.tenant.flyway.TenantFlywayConfig 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.tenant.flyway.enabled", havingValue = "true", matchIfMissing = true)
public class TenantFlywayConfig {

    @Bean
    TenantFlywayMigrationInitializer tenantFlywayMigrationInitializer(){
        return new TenantFlywayMigrationInitializer();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy