0
sebastian.morar created
Hi,
I am working on implementing CI/CD from bitbucket and the only step left is applying the migrations. I believe enabling automatic migration will solve the problem, but I'm not sure how to do that.
Running context.Database.Migrate(); in SeedHostDb doesn't work.
Could you please help me with enabling automatic migrations?
Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Hi, SeedHostdb is only used during application startup.
In your CD pipelines, you can execute the XXX.Migrator project (executable) to run migration.
It will take care of host and tenant database migrations
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
This issue is closed because it has not had recent activity for a long time.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)