alembic 0002: fix down_revision to '0001' (matches 0001_initial's id)
0001_initial.py declares revision='0001', not '0001_initial'. My 0002 migration had down_revision='0001_initial', so alembic couldn't splice it into the chain and silently ran 'upgrade head' as a no-op on pod startup. The rsu_vest/rsu_offset columns never got created and every INSERT from the new code failed with 'column does not exist'.
This commit is contained in:
parent
9105b6b79d
commit
1f2e73e024
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ import sqlalchemy as sa
|
||||||
|
|
||||||
from alembic import op
|
from alembic import op
|
||||||
|
|
||||||
revision = "0002_add_rsu_columns"
|
revision = "0002"
|
||||||
down_revision = "0001_initial"
|
down_revision = "0001"
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue