خرید بک لینک

Vote count: 0

I don't get the workflow. On my developer machine I create models, database context etc. Then I create a migration, update my local database schema. Next, I want to deploy my app to a server. I copy the result of deploy command to the server. The database schema is being updated automatically. That's great, before today I had to dnx ef database update manually.

What if I have to change my models and therefore database schema too? I have made changes needed and copy MyApp.exe to the server. Will the database schema update performs automatically too? Or should I make some configuration manually?

Can I rollback a migration if it had been applied to the database now? Previously it was impossible as far as I got it.

asked 31 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 18 تير 1395 ساعت: 22:16

صفحه بندی