You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working in an environment where I have multiple versions of the database in parallell, i.e Development, Migration and Production.
I have a problem when I have made changes via migrations in my Development database and is going to deploy to my Mig and Prod environments, as there doesn't seem to be any simple way through "update-database" to point it to any other database than my development one.
How is this supposed to be done?
I would have liked "Update-database" to take a connection string parameter and be able to apply the missing migrations to any database I point it to.
Currently I am using the schema diff functionality in VS to create a diff script between dev and the target database, but this is a manual step, and as such prone to errors.
The text was updated successfully, but these errors were encountered:
I am working in an environment where I have multiple versions of the database in parallell, i.e Development, Migration and Production.
I have a problem when I have made changes via migrations in my Development database and is going to deploy to my Mig and Prod environments, as there doesn't seem to be any simple way through "update-database" to point it to any other database than my development one.
How is this supposed to be done?
I would have liked "Update-database" to take a connection string parameter and be able to apply the missing migrations to any database I point it to.
Currently I am using the schema diff functionality in VS to create a diff script between dev and the target database, but this is a manual step, and as such prone to errors.
The text was updated successfully, but these errors were encountered: