Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
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.


1 Answer(s)
  • User Avatar
    0
    bbakermmc created

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