2020-11-10 13:24:17 +00:00
|
|
|
"""empty message
|
|
|
|
|
|
|
|
Revision ID: 0718ad13e5f3
|
|
|
|
Revises: 69081f1ff387
|
|
|
|
Create Date: 2020-11-06 11:08:33.657440
|
|
|
|
|
|
|
|
"""
|
|
|
|
from alembic import op
|
|
|
|
import sqlalchemy as sa
|
|
|
|
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = '0718ad13e5f3'
|
|
|
|
down_revision = '69081f1ff387'
|
|
|
|
branch_labels = None
|
|
|
|
depends_on = None
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
op.create_table('data_store',
|
2020-11-11 16:36:25 +00:00
|
|
|
sa.Column('id', sa.Integer(), nullable=False),
|
2020-11-10 13:24:17 +00:00
|
|
|
sa.Column('key', sa.String(), nullable=False),
|
|
|
|
sa.Column('value', sa.String(), nullable=True),
|
2020-11-11 16:36:25 +00:00
|
|
|
sa.PrimaryKeyConstraint('id')
|
2020-11-10 13:24:17 +00:00
|
|
|
)
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
op.drop_table('data_store')
|
|
|
|
# ### end Alembic commands ###
|