"""empty message

Revision ID: 34aa0c0ef507
Revises: 7fe4633d1aa2
Create Date: 2019-09-20 19:25:45.050967

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "34aa0c0ef507"
down_revision = "7fe4633d1aa2"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table(
        "locks",
        sa.Column("id", sa.Integer(), nullable=False),
        sa.Column("name", sa.String(length=128), nullable=False),
        sa.PrimaryKeyConstraint("id", name=op.f("pk_locks")),
        sa.UniqueConstraint("name", name=op.f("uq_locks_name")),
    )
    op.execute("INSERT INTO locks (name) VALUES ('charger')")
    # ### end Alembic commands ###


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