From 8b1b3f482a980ed989b707c303cf46c557309dfc Mon Sep 17 00:00:00 2001 From: Maxim De Clercq Date: Thu, 20 Apr 2023 02:07:43 +0200 Subject: [PATCH] Add migration for Microsoft Auth --- app/migrations/versions/89b2c980b663_.py | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app/migrations/versions/89b2c980b663_.py diff --git a/app/migrations/versions/89b2c980b663_.py b/app/migrations/versions/89b2c980b663_.py new file mode 100644 index 0000000..d859e69 --- /dev/null +++ b/app/migrations/versions/89b2c980b663_.py @@ -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 ###