Sacanas-Inc / GameScoringAPI

0 stars 0 forks source link

Database and CI/CD #1

Closed Lavizord closed 1 month ago

Lavizord commented 1 month ago

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.

Lavizord commented 1 month ago

Teh Ensure created was left out, and the old migrations were deleted. Issue seems fixed for now.