You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
959 B

"""empty message
Revision ID: 4bc1decf051d
Revises: 1f57157eb709
Create Date: 2023-05-28 09:54:00.011898
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '4bc1decf051d'
down_revision = '1f57157eb709'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('user', schema=None) as batch_op:
batch_op.alter_column('user_say',
existing_type=mysql.VARCHAR(length=500),
nullable=True)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('user', schema=None) as batch_op:
batch_op.alter_column('user_say',
existing_type=mysql.VARCHAR(length=500),
nullable=False)
# ### end Alembic commands ###