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

Make initial setup & upgrade easier #397

Merged
merged 6 commits into from
Apr 18, 2020
Merged

Conversation

mik3y
Copy link
Member

@mik3y mik3y commented Apr 18, 2020

The "is setup" middleware can now detect when tables haven't been installed, or when migrations are needed, and send the user over to the UI to process them.

This should make a clean docker-compose up, or similarly fresh setup, able to bootstrap itself.

mik3y added 6 commits April 18, 2020 11:02
Cleans up the "is setup" middleware a bit to detect the most
common first launch state - tables not installed, or tables not
upgraded.
Should make the "first launch" case work, provided the
database has been created and is reachable.

Adds `/setup/upgrade` for subsequent situations where migration
is needed.
@mik3y mik3y merged commit abe7ab4 into master Apr 18, 2020
@mik3y mik3y deleted the mikey/upgrade-improvements branch July 23, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant