From 930da02231957f4151d9c8bfe2f62c67f077cc6b Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Wed, 6 May 2020 16:43:56 -0400 Subject: [PATCH] Run formatter --- ...37fb68807ea_add_cascading_delete_to_dynamic_.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/migrations/versions/b37fb68807ea_add_cascading_delete_to_dynamic_.py b/migrations/versions/b37fb68807ea_add_cascading_delete_to_dynamic_.py index aaf6514..af9a3fc 100644 --- a/migrations/versions/b37fb68807ea_add_cascading_delete_to_dynamic_.py +++ b/migrations/versions/b37fb68807ea_add_cascading_delete_to_dynamic_.py @@ -9,21 +9,23 @@ from alembic import op # revision identifiers, used by Alembic. -revision = 'b37fb68807ea' -down_revision = '1093835a1051' +revision = "b37fb68807ea" +down_revision = "1093835a1051" branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.drop_constraint(None, 'dynamic_challenge', type_='foreignkey') - op.create_foreign_key(None, 'dynamic_challenge', 'challenges', ['id'], ['id'], ondelete='CASCADE') + op.drop_constraint(None, "dynamic_challenge", type_="foreignkey") + op.create_foreign_key( + None, "dynamic_challenge", "challenges", ["id"], ["id"], ondelete="CASCADE" + ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.drop_constraint(None, 'dynamic_challenge', type_='foreignkey') - op.create_foreign_key(None, 'dynamic_challenge', 'challenges', ['id'], ['id']) + op.drop_constraint(None, "dynamic_challenge", type_="foreignkey") + op.create_foreign_key(None, "dynamic_challenge", "challenges", ["id"], ["id"]) # ### end Alembic commands ###