"""Actualizacion de Base de datos hecha por vane.valverdesantos@gmail.com a las: 2025-11-18 13:17:34

Revision ID: 5a93701e3397
Revises: 19ff97fee17e
Create Date: 2025-11-18 13:17:49.002716

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

# revision identifiers, used by Alembic.
revision = '5a93701e3397'
down_revision = '19ff97fee17e'
branch_labels = None
depends_on = None


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

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('object', schema=None) as batch_op:
        batch_op.add_column(sa.Column('creationDateText', mysql.VARCHAR(length=255), nullable=True))
        batch_op.add_column(sa.Column('additionalAccessionNumber', mysql.VARCHAR(length=255), nullable=True))

    # ### end Alembic commands ###
