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

STARTER TUTORIAL #4 : ADD database migrations #78

Draft
wants to merge 6 commits into
base: md_add_consumption_models
Choose a base branch
from

Conversation

mdrobisch
Copy link
Collaborator

@mdrobisch mdrobisch commented Feb 19, 2023

See #77 for the previous step

  • Added database migration script (alembic) for the database
    • Added the alembic environment directories and files
      • Added directories migrations and migrations/versions
      • Added alembic.ini, migration/env.py and migrations/script.py.mako (used generic templates)
      • Added the README files (used gerneric templates)
    • Added the base mirgation with : alembic revision -m "base" --autogenerate --rev-id 000001

HINT: Please run alembic upgrade 000001 to migrate your database

HINT: Please do not merge this. This Pull Request is ment to be a starting point for new developers.

See #79 for the next step

@mdrobisch mdrobisch changed the title STARTER TUTORIAL #3 : ADD database migrations STARTER TUTORIAL #4 : ADD database migrations Feb 19, 2023
@mdrobisch mdrobisch marked this pull request as draft February 19, 2023 14:18
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