aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions
diff options
context:
space:
mode:
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