Skip to content

Commit 63c8aa4

Browse files
authored
restore missing migration (#168)
1 parent 47630be commit 63c8aa4

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"""Add configurable dockerfile_path to applications
2+
3+
Revision ID: a1b2c3d4e5f6
4+
Revises: c2ae2e19e1f2
5+
Create Date: 2026-02-17 20:30:00.000000
6+
7+
"""
8+
9+
from alembic import op
10+
import sqlalchemy as sa
11+
12+
revision = "a1b2c3d4e5f6"
13+
down_revision = "c2ae2e19e1f2"
14+
branch_labels = None
15+
depends_on = None
16+
17+
18+
def upgrade():
19+
op.add_column(
20+
"project_applications", sa.Column("dockerfile_path", sa.Text(), nullable=True)
21+
)
22+
op.add_column(
23+
"project_applications_version",
24+
sa.Column("dockerfile_path", sa.Text(), autoincrement=False, nullable=True),
25+
)
26+
27+
28+
def downgrade():
29+
op.drop_column("project_applications_version", "dockerfile_path")
30+
op.drop_column("project_applications", "dockerfile_path")

0 commit comments

Comments
 (0)