Skip to content

symfony-tutorials/multi-tenant

Repository files navigation

Main database managment

# create database main schema
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

Tenant database management

# create the missing tenant databases
php bin/console tenant:database:create

# create the diffs for tenant databases
php bin/console tenant:migration:diff 1

# execute the initial migrations on all tenant databases
php bin/console tenant:migration:migrate init

# execute the migrations on all tenant databases
php bin/console tenant:migration:migrate update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published