aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
commit56b34db2bb402fd4b2991e271ec493f8bfb96420 (patch)
tree8938cff4a0af7593fec5dd884de5803a0eee226b /migrations/versions
parentupdated SQLAlchemy (diff)
downloadnewspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.gz
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.bz2
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.zip
chg: [style] Format with black.
Diffstat (limited to 'migrations/versions')
-rw-r--r--migrations/versions/2472eddbf44b_update_of_the_user_model.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/migrations/versions/2472eddbf44b_update_of_the_user_model.py b/migrations/versions/2472eddbf44b_update_of_the_user_model.py
index 46d5b151..f89a9458 100644
--- a/migrations/versions/2472eddbf44b_update_of_the_user_model.py
+++ b/migrations/versions/2472eddbf44b_update_of_the_user_model.py
@@ -33,7 +33,10 @@ def downgrade():
sa.Column("id", sa.INTEGER(), nullable=False),
sa.Column("name", sa.VARCHAR(), nullable=True),
sa.Column("user_id", sa.INTEGER(), nullable=True),
- sa.ForeignKeyConstraint(["user_id"], ["user.id"],),
+ sa.ForeignKeyConstraint(
+ ["user_id"],
+ ["user.id"],
+ ),
sa.PrimaryKeyConstraint("id"),
sa.UniqueConstraint("name"),
)
bgstack15