"""empty message

Revision ID: 4820ea999e90
Revises: 
Create Date: 2018-07-27 15:36:44.671554

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '4820ea999e90'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('faq_page',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('question', sa.String(length=8), nullable=True),
    sa.Column('answer', sa.Text(), nullable=True),
    sa.Column('attachment', sa.Text(), nullable=True),
    sa.PrimaryKeyConstraint('id'),
    sa.UniqueConstraint('question')
    )
    op.create_table('integration_page',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('title', sa.String(length=8), nullable=True),
    sa.Column('short_description', sa.Text(length=125), nullable=True),
    sa.Column('description', sa.Text(), nullable=True),
    sa.Column('attachment', sa.Text(), nullable=True),
    sa.PrimaryKeyConstraint('id'),
    sa.UniqueConstraint('short_description'),
    sa.UniqueConstraint('title')
    )
    op.create_table('shopping_cart_page',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('title', sa.String(length=8), nullable=True),
    sa.Column('short_description', sa.Text(length=125), nullable=True),
    sa.Column('description', sa.Text(), nullable=True),
    sa.Column('attachment', sa.Text(), nullable=True),
    sa.PrimaryKeyConstraint('id'),
    sa.UniqueConstraint('short_description'),
    sa.UniqueConstraint('title')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('shopping_cart_page')
    op.drop_table('integration_page')
    op.drop_table('faq_page')
    # ### end Alembic commands ###
