"""empty message

Revision ID: 3faa6d09ff44
Revises: 3cd641e789b7
Create Date: 2021-02-20 16:47:34.627443

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

# revision identifiers, used by Alembic.
revision = '3faa6d09ff44'
down_revision = '3cd641e789b7'
branch_labels = None
depends_on = None


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


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('test',
    sa.Column('sn', mysql.INTEGER(display_width=11), autoincrement=True, nullable=False),
    sa.Column('datetime', mysql.DATETIME(), nullable=False),
    sa.Column('tank_num', mysql.INTEGER(display_width=11), autoincrement=False, nullable=False),
    sa.Column('status', mysql.TEXT(collation='utf8mb4_unicode_ci'), nullable=False),
    sa.PrimaryKeyConstraint('sn'),
    mysql_collate='utf8mb4_unicode_ci',
    mysql_default_charset='utf8mb4',
    mysql_engine='InnoDB'
    )
    # ### end Alembic commands ###
