"""only allow unique keys in key-value store

Revision ID: <KEY>
Revises: c2aead9ff6d9
Create Date: 2019-03-09 12:12:25.914048

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = 'c2aead9ff6d9'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint(None, 'key_value_store', ['key'])
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'key_value_store', type_='unique')
    # ### end Alembic commands ###

"""only allow unique keys in key-value store

Revision ID: <KEY>
Revises: c2aead9ff6d9
Create Date: 2019-03-09 12:12:25.914048

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = 'c2aead9ff6d9'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint(None, 'key_value_store', ['key'])
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'key_value_store', type_='unique')
    # ### end Alembic commands ###

only allow unique keys in key-value store  Revision ID: <KEY> Revises: c2aead9ff6d9 Create Date: 2019-03-09 12:12:25.914048 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###