Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
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