"""add active_cart_count to user table

Revision ID: b0d5604d9255
Revises: ab7338eaedf1
Create Date: 2019-08-10 20:15:45.595633

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'b0d5604d9255'
down_revision = 'ab7338eaedf1'
branch_labels = None
depends_on = None


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


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