Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

474 update is voluntary field to be nullable #475

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

jcadam14
Copy link
Contributor

Closes #474

Need to update either this or #473 due to each PR have an alembic script, so will need to make whichever PR is reviewed/approved last alembic based on the first PR merged in.

@jcadam14 jcadam14 self-assigned this Oct 28, 2024
@jcadam14 jcadam14 linked an issue Oct 28, 2024 that may be closed by this pull request
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/sbl_filing_api/entities/models
  dao.py
  dto.py
  src/sbl_filing_api/routers
  filing.py
Project Total  

This report was generated by python-coverage-comment-action

Comment on lines 26 to 33
conn = op.get_bind()
conn.execute(
sa.text(
"""
UPDATE filing SET is_voluntary = null
"""
)
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave this part out as just a manual process; since this is still in dev, no data would get affected when it deploys to staging.

Copy link
Collaborator

@lchen-2101 lchen-2101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lchen-2101 lchen-2101 merged commit 71d24a3 into main Oct 29, 2024
5 checks passed
@lchen-2101 lchen-2101 deleted the 474-update-is_voluntary-field-to-be-nullable branch October 29, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update is_voluntary field to be nullable
2 participants