Base solution for your next web application
Open Closed

Apply EF Migration To Production DataBase #4907


User avatar
0
simedbn created

Hello,

There is a good best practice to flow for applying new database migration to Production DataBase ?

For the moment i juste change the connection string and i run update-database in the package manage consol

but i think that's not a good practice.

Thank you in advance.

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

1 Answer(s)
  • User Avatar
    0
    bbakermmc created

    Use the migration tool, it will update your DBs for you.

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