-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix inspection frequency backend crash #990
Conversation
🔔 Migrations changes detected 🔔 |
It doesn't let me change InspectionFrequency directly to bigint from Time format, but since the inspection frequency column is empty anyways in each environment it is not an issue to just delete and re-add the column. |
It's worth noting that these database changes have already been applied to dev |
1619d5e
to
b8fd634
Compare
backend/api/Migrations/20230830075517_RemoveInspectionFrequency.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migrations should probably be regenerated so that they don't include making a bunch of properties required when this PR is only about changing the type of the Inspection frequency
0132391
to
2895a6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
2895a6a
to
6268ceb
Compare
/UpdateDatabase |
👀 Running migration command... 👀 |
✨ Successfully ran migration command! ✨ |
Closes #969