mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
33 lines
804 B
Python
33 lines
804 B
Python
"""empty message
|
|
|
|
Revision ID: b8b4f9598240
|
|
Revises: bc75acacc98e
|
|
Create Date: 2021-09-21 11:22:24.285286
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'b8b4f9598240'
|
|
down_revision = 'bc75acacc98e'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('api_key', 'name',
|
|
existing_type=sa.VARCHAR(length=128),
|
|
nullable=True)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('api_key', 'name',
|
|
existing_type=sa.VARCHAR(length=128),
|
|
nullable=False)
|
|
# ### end Alembic commands ###
|