"""empty message

Revision ID: fe6de14b242d
Revises:
Create Date: 2018-03-21 23:06:00.353287

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table(
        'sites',
        sa.Column('id', sa.Integer(), nullable=False),
        sa.Column('full_link', sa.String(), nullable=False),
        sa.Column('short_link', sa.String(), nullable=False),
        sa.Column('expired_date', sa.DateTime(), nullable=True),
        sa.Column('is_working', sa.Boolean(), nullable=False),
        sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


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