"""empty message
|
|
|
|
Revision ID: 5cffb9b6fccd
|
|
Revises: 382a65f4b6c9
|
|
Create Date: 2018-11-15 21:49:26.478624
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '5cffb9b6fccd'
|
|
down_revision = '382a65f4b6c9'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('users', sa.Column('avatar_hash', sa.String(length=32), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('users', 'avatar_hash')
|
|
# ### end Alembic commands ###
|