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

33 lines
801 B
Python

"""empty message
Revision ID: 5c84e633f254
Revises: 5eb37be53e1c
Create Date: 2025-10-21 16:32:48.572116
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5c84e633f254'
down_revision = '5eb37be53e1c'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('sys_user', schema=None) as batch_op:
batch_op.add_column(sa.Column('desc', sa.Text(), nullable=True, comment='描述'))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('sys_user', schema=None) as batch_op:
batch_op.drop_column('desc')
# ### end Alembic commands ###