Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate CMRP records #41

Closed
coni2k opened this issue May 29, 2015 · 1 comment
Closed

Duplicate CMRP records #41

coni2k opened this issue May 29, 2015 · 1 comment
Labels

Comments

@coni2k
Copy link
Contributor

coni2k commented May 29, 2015

Somehow on local CMRP records are duplicate, what's the trouble?

@coni2k coni2k added the bug label May 29, 2015
@coni2k
Copy link
Contributor Author

coni2k commented May 29, 2015

This was happening because SeedInitialData method was called directly under Seed method in DbMigrationsConfiguration. Then each time you call Update-Database, it executes this line and keeps adding CMRPS.

Now it's moved under migrationVersion switch, so it will only be executed for "Initial" migration.

@coni2k coni2k closed this as completed May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant