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.
32 lines
839 B
32 lines
839 B
"""Add new features
|
|
|
|
Revision ID: 50157fcf55e4
|
|
Revises: ed07e785afd5
|
|
Create Date: 2025-08-13 15:57:43.041740
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '50157fcf55e4'
|
|
down_revision = 'ed07e785afd5'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('PaymentPlans', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('Stripe_Payment_Method', sa.String(length=50), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('PaymentPlans', schema=None) as batch_op:
|
|
batch_op.drop_column('Stripe_Payment_Method')
|
|
|
|
# ### end Alembic commands ###
|
|
|