"""Corrige nombre de campo en Clazz.py extraActions

Revision ID: 8215cbf0bf66
Revises: 609a4d2ef429
Create Date: 2025-11-17 15:26:34.456797

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

# revision identifiers, used by Alembic.
revision = '8215cbf0bf66'
down_revision = '609a4d2ef429'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('clazz', schema=None) as batch_op:
        batch_op.add_column(sa.Column('extraActions', sa.Text(), nullable=True))
        batch_op.drop_column('extrActions')

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('clazz', schema=None) as batch_op:
        batch_op.add_column(sa.Column('extrActions', mysql.TEXT(), nullable=True))
        batch_op.drop_column('extraActions')

    # ### end Alembic commands ###
