You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.1 KiB

"""Add new features
Revision ID: 906059746902
Revises: 6a841af4c236
Create Date: 2025-08-13 20:25:29.561582
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '906059746902'
down_revision = '6a841af4c236'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('Payments', schema=None) as batch_op:
batch_op.add_column(sa.Column('Stripe_Payment_Method', sa.String(), nullable=True))
with op.batch_alter_table('SinglePayments', schema=None) as batch_op:
batch_op.add_column(sa.Column('Stripe_Payment_Method', sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('SinglePayments', schema=None) as batch_op:
batch_op.drop_column('Stripe_Payment_Method')
with op.batch_alter_table('Payments', schema=None) as batch_op:
batch_op.drop_column('Stripe_Payment_Method')
# ### end Alembic commands ###