Database migration with alembic#112
Conversation
frgfm
left a comment
There was a problem hiding this comment.
Thanks for this PR! I added a few comments, but I have no experience with alembic
frgfm
left a comment
There was a problem hiding this comment.
Thanks for the edits! I'm still having doubts for the Dockerfile modifications but it's nitpicking
frgfm
left a comment
There was a problem hiding this comment.
Just the copyright & license notice missing 👌
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
+ Coverage 88.31% 88.47% +0.16%
==========================================
Files 27 27
Lines 787 807 +20
==========================================
+ Hits 695 714 +19
- Misses 92 93 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@jeanpasquier75 I think we are ready to merge. Since we don't have a unittest or any CI integration yet, can you confirm that you tried to modify one of the table and used your alembic instructions to perform the migration, which was successful ? :) |
Yes sir I confirm that it works fine in my postgres image 😉 |
Database migration implementation using Alembic tool: alter database schema (create table, add column, etc.) using SQLAlchemy syntax, more info in
src/alembic/README.mdOpen questions:
config.set_main_optionin there docresolves #107