From b6f3765a3a091010f20a996fa1b83e5aaa7134cc Mon Sep 17 00:00:00 2001 From: Davor Date: Wed, 8 Jun 2022 18:02:51 +0200 Subject: [PATCH] remove 'pass' from the end of downgrade --- migrations/versions/b514cca2d47b_add_user_role.py | 1 - 1 file changed, 1 deletion(-) diff --git a/migrations/versions/b514cca2d47b_add_user_role.py b/migrations/versions/b514cca2d47b_add_user_role.py index 9209492..fc18087 100644 --- a/migrations/versions/b514cca2d47b_add_user_role.py +++ b/migrations/versions/b514cca2d47b_add_user_role.py @@ -28,4 +28,3 @@ def upgrade(): def downgrade(): op.execute("UPDATE app_role SET role_id = NULL WHERE role_id = 2") op.execute("DELETE FROM `role` WHERE id = 2") - pass