EF 7 - running migrations to update - already an object named 'defaultsequence' in the database

664 views Asked by At

I am trying out EF 7 migrations (using the DNX ef commands). I was able to create my initial schema, but when I made some changes to my model, created a new migration (which worked), and then tried to apply them, I got this error:

SqlException: There is already an object named 'DefaultSequence' in the database

'DefaultSequence' isn't a property I'm knowingly working with. Any insight would be helpful, thanks!

These are the commands I was using:

dnx . ef migration Add MyMigration dnx . ef migration apply

0

There are 0 answers