From 3daa0e6a522c2c82839ded92f7edf2265c8fe64d Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Fri, 15 May 2015 19:04:54 -0400 Subject: [PATCH] migration: use SA boolean value for server_default --- .../4ce2169efd3b_add_reversion_column_to_the_tags_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/migrations/versions/4ce2169efd3b_add_reversion_column_to_the_tags_table.py b/data/migrations/versions/4ce2169efd3b_add_reversion_column_to_the_tags_table.py index 6c4007e63..19a1d6ba6 100644 --- a/data/migrations/versions/4ce2169efd3b_add_reversion_column_to_the_tags_table.py +++ b/data/migrations/versions/4ce2169efd3b_add_reversion_column_to_the_tags_table.py @@ -16,7 +16,7 @@ import sqlalchemy as sa def upgrade(tables): ### commands auto generated by Alembic - please adjust! ### - op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=False)) + op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=sa.sql.expression.false())) ### end Alembic commands ###