"""Add Permissions to ParterService

Revision ID: cfee2c5bcd7a
Revises: 9ac89fc67661
Create Date: 2025-04-11 07:56:56.802824

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'cfee2c5bcd7a'
down_revision = '9ac89fc67661'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('partner_service', schema=None) as batch_op:
        batch_op.add_column(sa.Column('permissions', sa.JSON(), nullable=True))
    # ### end Alembic commands ###


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

    # ### end Alembic commands ###
