Skip to content

Multi-tenant using MultiTenantSpringLiquibase sample

Notifications You must be signed in to change notification settings

rmsantana/poc-multi-tenant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poc-multi-tenant

This is a POC for Multi-tenant using MultiTenantSpringLiquibase.

It reads from a View called schema_view in the PostgreSQL public schema and creates schemas based on the values present on the view. Then it executes Liquibase for every schema created using MultiTenantSpringLiquibase.

The changelog used for the created schemas is located at db/changelog/schemas/db.changelog-specific.yaml

When the application starts, it executes the MultiTenantSpringLiquibase, so if the values in the view change, new schemas will be created.

Using this, the public schema is executed before all and may have different tables from the others.

About

Multi-tenant using MultiTenantSpringLiquibase sample

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages