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

Migrations refactor #91

Merged
merged 10 commits into from
Jun 10, 2019
Merged

Migrations refactor #91

merged 10 commits into from
Jun 10, 2019

Conversation

markphelps
Copy link
Collaborator

This PR removes the db.migrations.auto config option and also adds the migrate subcommand.

The reason for this is that I think that database migrations should be run explicitly by the user. This allows them to backup their existing data before running migrations.

Note: This does not change the behavior on first run. If no migrations have been run previously, Flipt will migrate all the way up when starting the server.

@markphelps markphelps merged commit c5c3e37 into master Jun 10, 2019
@markphelps markphelps deleted the migrations-refactor branch June 10, 2019 00:31
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