Migrations are not being handled properly, we were EnsureDeleted() and then EnsureCreated() on every start-up, this was causing data to be wiped in production, even when a new deployment wasn't issue.
The EnsureDeleted() was commented out, but the underlying issue with the lack of migrations still exists.
Migrations are not being handled properly, we were EnsureDeleted() and then EnsureCreated() on every start-up, this was causing data to be wiped in production, even when a new deployment wasn't issue.
The EnsureDeleted() was commented out, but the underlying issue with the lack of migrations still exists.