forked from scidsg/hushline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use app logic to avoid broken migration & apply DRY scidsg#622
When running ``make migrate-dev`` there's an error with the new 'host_organization' table migration. Filling & commiting the default record on app startup if it's missing removes the error, reduces repetition of magic constants which were given variable names in the app, & avoids an incomplete DB state which breaks rendering of CSS. Partial reversion of 9cad571 For Roadmap Item scidsg#533
- Loading branch information
Showing
2 changed files
with
4 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters