diff --git a/migrations/versions/cac478732572_delete_agent_feature.py b/migrations/versions/cac478732572_delete_agent_feature.py index e0c483975..15153145b 100644 --- a/migrations/versions/cac478732572_delete_agent_feature.py +++ b/migrations/versions/cac478732572_delete_agent_feature.py @@ -8,7 +8,6 @@ from alembic import op import sqlalchemy as sa - # revision identifiers, used by Alembic. revision = 'cac478732572' down_revision = 'e39295ec089c' @@ -17,7 +16,8 @@ def upgrade() -> None: - op.add_column('agents', sa.Column('is_deleted', sa.Boolean(), nullable=True)) + op.add_column('agents', sa.Column('is_deleted', sa.Boolean(), nullable=True, server_default=sa.false())) + def downgrade() -> None: op.drop_column('agents', 'is_deleted')