Manually Add A Migration?
I've been using Entity framework code first in a project and all the tables have been created /modified a while ago. Now I need to add an unique constraint to a table. I want to cr
Solution 1:
Using add-migration is the way for this.
Just use add-migration yourMigrationName
and it will automatically create all the files you need.
Then you just alter the Up() and Down() methods with the values that you need
Post a Comment for "Manually Add A Migration?"