Add migration for Microsoft Auth
This commit is contained in:
parent
2d6aea10fb
commit
8b1b3f482a
1 changed files with 26 additions and 0 deletions
26
app/migrations/versions/89b2c980b663_.py
Normal file
26
app/migrations/versions/89b2c980b663_.py
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
"""empty message
|
||||||
|
|
||||||
|
Revision ID: 89b2c980b663
|
||||||
|
Revises: 9eac0f3d7b1e
|
||||||
|
Create Date: 2023-04-20 02:01:54.558602
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '89b2c980b663'
|
||||||
|
down_revision = '9eac0f3d7b1e'
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.add_column('user', sa.Column('microsoft_uuid', sa.VARCHAR(length=120), nullable=True))
|
||||||
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.drop_column('user', 'microsoft_uuid')
|
||||||
|
# ### end Alembic commands ###
|
Loading…
Reference in a new issue