"""add updated_timestamp to cart

Revision ID: 6da97f2f913f
Revises: 15751f5d7a03
Create Date: 2019-08-13 08:52:18.073705

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "6da97f2f913f"
down_revision = "15751f5d7a03"
branch_labels = None
depends_on = None


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


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("mps_cart", "updated_timestamp")
    # ### end Alembic commands ###
