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

[persistence][spike] alembic migrations #2742

Closed
Tracked by #1689
mikeldking opened this issue Apr 2, 2024 · 0 comments
Closed
Tracked by #1689

[persistence][spike] alembic migrations #2742

mikeldking opened this issue Apr 2, 2024 · 0 comments
Assignees

Comments

@mikeldking
Copy link
Contributor

mikeldking commented Apr 2, 2024

Investigate the intersection between alembic (https://alembic.sqlalchemy.org/en/latest/front.html#installation) and sql alchamy and make sure they work together cleanly (how it tracks versions).

SqlAlchemy does create DDL so will have to figure out the separation of concerns.

https://www.sqlite.org/lang_altertable.html#otheralter
Sqlite quirks: https://alembic.sqlalchemy.org/en/latest/batch.html

Messy migration paths

  • changing an index
  • changing an enum
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Apr 2, 2024
@mikeldking mikeldking self-assigned this Apr 2, 2024
@mikeldking mikeldking moved this from 📘 Todo to 👨‍💻 In progress in phoenix Apr 3, 2024
@mikeldking mikeldking moved this from 👨‍💻 In progress to 👍 Approved in phoenix Apr 4, 2024
@github-project-automation github-project-automation bot moved this from 👍 Approved to ✅ Done in phoenix Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant