Skip to content

Commit 8b1d391

Browse files
ImTotemclaude
andcommitted
fix(migration): add track column to applications table
Migration 005 was already run without track column. Add it via separate migration 006. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 66617e5 commit 8b1d391

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""add track column to applications
2+
3+
Revision ID: 006
4+
Revises: 005
5+
"""
6+
7+
import sqlalchemy as sa
8+
from alembic import op
9+
10+
revision = "006"
11+
down_revision = "005"
12+
13+
14+
def upgrade() -> None:
15+
op.add_column("applications", sa.Column("track", sa.String))
16+
17+
18+
def downgrade() -> None:
19+
op.drop_column("applications", "track")

0 commit comments

Comments
 (0)