Base solution for your next web application
Open Closed

How migrate tenant db to latest version in project startup #1452


User avatar
0
omital created

Hi, I have been trying to configure entityframework's initialize method to upgrade tenatns db to latest version in project startup, but upgrade does not happen except for host tenant. How can I solve this approach ?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Hi,

    You need to create a DbMigrator for your Tenant DbContext. Please check second post on this forum topic #1316@38f4c851-f549-4837-9916-2b8a9d396f9a

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)