-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ec9cf8
commit 9b21d58
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
migrations/versions/20240828_1653_0bf7c70b7034_fix_diff_for_old_timetable.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""fix_diff_for_old_timetable | ||
Revision ID: 0bf7c70b7034 | ||
Revises: 009029ff68e2 | ||
Create Date: 2024-08-28 16:53:06.541063 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
import os | ||
from sqlalchemy.dialects import postgresql | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '0bf7c70b7034' | ||
down_revision = '009029ff68e2' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.add_column('diff', sa.Column('action', sa.String(), nullable=True), schema='STG_RASPHYSMSU') | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('diff', 'action', schema='STG_RASPHYSMSU') |