diff --git a/migrations/versions/173ea45db189_migration_on_sat_may_10_09_54_34_utc_.py b/migrations/versions/173ea45db189_migration_on_sat_may_10_09_54_34_utc_.py new file mode 100644 index 0000000..0c3686b --- /dev/null +++ b/migrations/versions/173ea45db189_migration_on_sat_may_10_09_54_34_utc_.py @@ -0,0 +1,32 @@ +"""Migration on Sat May 10 09:54:34 UTC 2025 + +Revision ID: 173ea45db189 +Revises: 3105abd795d4 +Create Date: 2025-05-10 09:54:39.380499 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = '173ea45db189' +down_revision = '3105abd795d4' +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + with op.batch_alter_table('transaction_offers', schema=None) as batch_op: + batch_op.add_column(sa.Column('original_transaction', sa.String(length=50), nullable=True)) + + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + with op.batch_alter_table('transaction_offers', schema=None) as batch_op: + batch_op.drop_column('original_transaction') + + # ### end Alembic commands ###