"""empty message Revision ID: 1c667e62f698 Revises: aa4bda3363e3 Create Date: 2024-05-28 11:35:33.961196 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa import sqlmodel from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision: str = '1c667e62f698' down_revision: Union[str, None] = 'aa4bda3363e3' branch_labels: Union[str, Sequence[str], None] = None depends_on: Union[str, Sequence[str], None] = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.alter_column('assistant', 'response_format', existing_type=mysql.VARCHAR(collation='utf8mb4_unicode_ci', length=255), type_=sa.JSON(), existing_nullable=True) op.alter_column('run', 'response_format', existing_type=mysql.VARCHAR(collation='utf8mb4_unicode_ci', length=255), type_=sa.JSON(), existing_nullable=True) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.alter_column('run', 'response_format', existing_type=sa.JSON(), type_=mysql.VARCHAR(collation='utf8mb4_unicode_ci', length=255), existing_nullable=True) op.alter_column('assistant', 'response_format', existing_type=sa.JSON(), type_=mysql.VARCHAR(collation='utf8mb4_unicode_ci', length=255), existing_nullable=True) # ### end Alembic commands ###