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

Add database migration workflow with alembic (fixes #268) #270

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

DavidMStraub
Copy link
Member

Most of the new scripts have been automatically generated with alembic init.

The first migration was set up in such a way that it does not modify existing user databases.

An automatic migration is added to the docker entrypoint. This is not super elegant as it slightly delays container startup and does not allow separating migration from deployment, but IMO is the easiest & most user friendly option for the moment (small, single user deployments).

@DavidMStraub DavidMStraub merged commit d874a12 into gramps-project:master Feb 19, 2022
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