"""add active_cart_total_in_cents to User class

Revision ID: 15751f5d7a03
Revises: b0d5604d9255
Create Date: 2019-08-11 15:53:30.385027

"""
from alembic import op
import sqlalchemy as sa


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


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


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