From 56b34db2bb402fd4b2991e271ec493f8bfb96420 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 28 Dec 2021 01:12:02 +0100 Subject: chg: [style] Format with black. --- migrations/env.py | 1 + migrations/versions/2472eddbf44b_update_of_the_user_model.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'migrations') diff --git a/migrations/env.py b/migrations/env.py index e06cd8db..cbfe86d4 100644 --- a/migrations/env.py +++ b/migrations/env.py @@ -1,6 +1,7 @@ from __future__ import with_statement from alembic import context + # add your model's MetaData object here # for 'autogenerate' support # from myapp import mymodel 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"), ) -- cgit