Browse Source

Another attempt at fixing alembic revision for mysql

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 1 year ago
parent
commit
8c0ad5d888
1 changed files with 1 additions and 1 deletions
  1. 1 1
      alembic/versions/d7589827abbb_add_support_for_allow_rebase.py

+ 1 - 1
alembic/versions/d7589827abbb_add_support_for_allow_rebase.py

@@ -24,7 +24,7 @@ def upgrade():
     )
     op.execute('''UPDATE pull_requests SET allow_rebase=False;''')
     op.alter_column(
-        'pull_requests', 'allow_rebase',
+        'pull_requests', 'allow_rebase', existing_type=sa.Boolean,
         nullable=False, existing_nullable=True)