<gh_stars>1000+
"""Remove user avatar

Revision ID: 0<PASSWORD>
Revises: 654298797277
Create Date: 2019-12-02 10:29:41.945044

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

# revision identifiers, used by Alembic.
revision = '0<PASSWORD>'
down_revision = '654298797277'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('user') as batch_op:
        batch_op.drop_column('avatar')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('user', sa.Column('avatar', mysql.VARCHAR(length=128), nullable=True))
    # ### end Alembic commands ###

"""Remove user avatar

Revision ID: 0<PASSWORD>
Revises: 654298797277
Create Date: 2019-12-02 10:29:41.945044

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

# revision identifiers, used by Alembic.
revision = '0<PASSWORD>'
down_revision = '654298797277'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('user') as batch_op:
        batch_op.drop_column('avatar')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('user', sa.Column('avatar', mysql.VARCHAR(length=128), nullable=True))
    # ### end Alembic commands ###
Remove user avatar  Revision ID: 0<PASSWORD> Revises: 654298797277 Create Date: 2019-12-02 10:29:41.945044 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###