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

Leave boolean fields null unless a value is in the column #240

Merged
merged 1 commit into from
May 30, 2024

Conversation

MBARIMike
Copy link
Contributor

This will make the appearance of the Patch_test and Repeat_survey columns better by have a '-' unless it's checked with an 'x', 'yes', or now anything in the spreadsheet. Removed values in the production database with:

Mission.objects.exclude(patch_test__isnull=True).update(patch_test=None)
Mission.objects.exclude(repeat_survey__isnull=True).update(repeat_survey=None)

Applies to #206

@MBARIMike MBARIMike merged commit f6fe1c7 into mbari-org:main May 30, 2024
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.

1 participant