Skip to content

Commit

Permalink
Removed blanket delete of existing is_voluntary default
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Oct 29, 2024
1 parent 526f6ef commit 2a8c8c8
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
Expand All @@ -23,15 +22,6 @@ def upgrade() -> None:
with op.batch_alter_table("filing", schema=None) as batch_op:
batch_op.alter_column("is_voluntary", nullable=True)

conn = op.get_bind()
conn.execute(
sa.text(
"""
UPDATE filing SET is_voluntary = null
"""
)
)


def downgrade() -> None:
with op.batch_alter_table("filing", schema=None) as batch_op:
Expand Down

0 comments on commit 2a8c8c8

Please sign in to comment.