aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2023-06-27 23:07:01 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2023-06-27 23:07:01 +0200
commit7a2cd5baed73e1634b83ce8d627ef275c993df7a (patch)
treeb3f27d46f4b01cab3f2444e695408041e965ac74 /migrations
parent[PATCH] ldap-auth (diff)
downloadnewspipe-7a2cd5baed73e1634b83ce8d627ef275c993df7a.tar.gz
newspipe-7a2cd5baed73e1634b83ce8d627ef275c993df7a.tar.bz2
newspipe-7a2cd5baed73e1634b83ce8d627ef275c993df7a.zip
chg: [flake8] Adresses some flake8 warnings.
Diffstat (limited to 'migrations')
-rw-r--r--migrations/versions/2a5604bed382_add_string_user_external_auth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/migrations/versions/2a5604bed382_add_string_user_external_auth.py b/migrations/versions/2a5604bed382_add_string_user_external_auth.py
index 95fe3ac9..41def8f4 100644
--- a/migrations/versions/2a5604bed382_add_string_user_external_auth.py
+++ b/migrations/versions/2a5604bed382_add_string_user_external_auth.py
@@ -5,15 +5,15 @@ Revises: bdd38bd755cb
Create Date: 2023-06-17 15:30:40.434393
"""
+import sqlalchemy as sa
+from alembic import op
+
# revision identifiers, used by Alembic.
revision = "2a5604bed382"
down_revision = "bdd38bd755cb"
branch_labels = None
depends_on = None
-from alembic import op
-import sqlalchemy as sa
-
def upgrade():
op.add_column("user", sa.Column("external_auth", sa.String(), nullable=True))
bgstack15