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

Fix default values for database tables #1283

Open
ChrisSchinnerl opened this issue Jun 7, 2024 · 0 comments
Open

Fix default values for database tables #1283

ChrisSchinnerl opened this issue Jun 7, 2024 · 0 comments

Comments

@ChrisSchinnerl
Copy link
Member

We should go through the schemas and clean up the default values of our tables where possible.
e.g. hosts have timestamps which are numbers that can be NULL right now so we need a COALSCE before scanning them when it would be easier to just default to 0.
JSON columns for hosts that haven't been scanned yet should probably also default to '{}' etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant