"""Ajout d'un ID d'avatar (#42)

Revision ID: c40b1f0ed821
Revises: c665488fc26e
Create Date: 2019-12-22 14:46:40.598673

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'c40b1f0ed821'
down_revision = 'c665488fc26e'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('member', sa.Column('avatar_id', sa.Integer(),
        nullable=False, server_default='0'))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('member', 'avatar_id')
    # ### end Alembic commands ###
