Base solution for your next web application
Open Closed

Multi tenancy, multiple database migration #1628


User avatar
0
kythor created

how can I get my new custom entity table to be created in every database? When using Add-Migration and Update-Database, it will only create it in the host database.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can use Migrator project in the solution. It will apply migrations to all tenant databases for you.

  • User Avatar
    0
    kythor created

    perfect, thx