"""empty message

Revision ID: b600c60b2eec
Revises: cd7b0b16113e
Create Date: 2019-10-18 13:07:35.379219

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('second_crawl',
    sa.Column('ID', sa.Integer(), autoincrement=True, nullable=False),
    sa.Column('Title', sa.String(length=255), nullable=False),
    sa.Column('content', sa.Text(), nullable=False),
    sa.Column('NewsURL', sa.String(length=255), nullable=False),
    sa.Column('visit_time', sa.Integer(), nullable=False),
    sa.Column('src', sa.String(length=64), nullable=False),
    sa.Column('time', sa.String(length=20), nullable=False),
    sa.PrimaryKeyConstraint('ID')
    )
    # ### end Alembic commands ###


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