diff --git a/migrations/versions/ddd5fc9ea75b_.py b/migrations/versions/ddd5fc9ea75b_.py index ad5a42d8..c6c90372 100644 --- a/migrations/versions/ddd5fc9ea75b_.py +++ b/migrations/versions/ddd5fc9ea75b_.py @@ -19,7 +19,7 @@ depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('file', sa.Column('irb_doc_code', sa.String(), nullable=True)) - op.add_column('file', sa.Column('is_reference', sa.Boolean(), nullable=False)) + op.add_column('file', sa.Column('is_reference', sa.Boolean(), nullable=False, default=False)) op.alter_column('file', 'primary', existing_type=sa.BOOLEAN(), nullable=False)