"""Remove relation_type from PartnerTenant

Revision ID: 9ed466e9756b
Revises: 43a9f29fb214
Create Date: 2025-05-07 14:11:25.132834

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '9ed466e9756b'
down_revision = '43a9f29fb214'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('partner_tenant', schema=None) as batch_op:
        batch_op.drop_column('relationship_type')

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('partner_tenant', schema=None) as batch_op:
        batch_op.add_column(sa.Column('relationship_type', sa.VARCHAR(length=20), autoincrement=False, nullable=False))
    # ### end Alembic commands ###
