you don’t specify how you plan to do migrations in azure. See
https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/applying?tabs=dotnet-core-cli
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have recently deployed an Azure App Service (includes EF Core) using azd CLI.
I have a Maui App too (also includes EF Core) that uses said service to perform data sync'ing. All works.
This is still only a DEV environment, no need to preserve the Db or data (yet) so no need for migrations yet, either.
I need to make a couple changes to the Db.
If I repeat the deployment of the now existing Azure App Service using the same azd CLI steps, does that over-write that instance with the changes AND update the Db?
OR should I delete that Azure App Service with the Db OR the whole resource group and redeploy new?
Thanks
you don’t specify how you plan to do migrations in azure. See
https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/applying?tabs=dotnet-core-cli