From 9b21d58d03b94bda2a6503ee050fb4e03dd8f7a3 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 28 Aug 2024 16:57:40 +0000 Subject: [PATCH] mig --- ...0bf7c70b7034_fix_diff_for_old_timetable.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 migrations/versions/20240828_1653_0bf7c70b7034_fix_diff_for_old_timetable.py diff --git a/migrations/versions/20240828_1653_0bf7c70b7034_fix_diff_for_old_timetable.py b/migrations/versions/20240828_1653_0bf7c70b7034_fix_diff_for_old_timetable.py new file mode 100644 index 00000000..ce267987 --- /dev/null +++ b/migrations/versions/20240828_1653_0bf7c70b7034_fix_diff_for_old_timetable.py @@ -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') \ No newline at end of file