33 lines
770 B
Python
33 lines
770 B
Python
"""user bio
|
|
|
|
Revision ID: 03057ef71b9c
|
|
Revises: 52a38793e62e
|
|
Create Date: 2026-03-17 14:57:43.452741
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '03057ef71b9c'
|
|
down_revision = '52a38793e62e'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('users', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('bio', sa.Text(), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('users', schema=None) as batch_op:
|
|
batch_op.drop_column('bio')
|
|
|
|
# ### end Alembic commands ###
|