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

feat: add alembic #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add alembic #145

wants to merge 1 commit into from

Conversation

osoken
Copy link
Collaborator

@osoken osoken commented Feb 22, 2025

closes #142

やったこと

とりあえず導入だけやってみました。
運用に合わせて、もう少し工夫する必要があると思います
既存のマイグレーションスクリプトはノータッチです
alembic 導入と現状のスキーマのマイグレーションスクリプトの自動生成をした結果 (migrate/migration/versions/1f33aeb4bebf_notes_and_posts.py) を上げておきます。

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.

Database Migration ツールの導入
1 participant