When developing the application, I used automatic EF migrations. So now that I have deployed my application to VPS, I donβt know how to add new tables and fields to my database.
Is it possible to connect to a remote database directly from my project in VS2012, update the connection string and update the database using "update-database" in the package manager console? Or do I need to install VS on my VPS and update the database from VPS?
My database is already filled with data, so I can not delete it and create it again.
c # sql-server entity-framework asp.net-mvc-4
Ilya Leykin
source share