From e12d5af52cc6258daba1be6700f43c3c9ad8590e Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Fri, 15 May 2015 17:04:50 -0400 Subject: [PATCH] migration: server_default for boolean field --- .../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 e2e8a3828..6c4007e63 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, default=False)) + op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=False)) ### end Alembic commands ###