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

False positives on missing_non_null_constraint for view-backed models #200

Open
bmulholland opened this issue Dec 17, 2024 · 0 comments · May be fixed by #201
Open

False positives on missing_non_null_constraint for view-backed models #200

bmulholland opened this issue Dec 17, 2024 · 0 comments · May be fixed by #201
Labels
false positive Pull requests that fix false positives

Comments

@bmulholland
Copy link

bmulholland commented Dec 17, 2024

I've created a virtual join table, using a postgres view via scenic. I've set up a model that uses that view, setting relationships that belongs_to another object. When I do that, missing_non_null_constraint tells me the IDs should have a NOT NULL constraint in the DB, but of course that's invalid.

@gregnavis gregnavis added the false positive Pull requests that fix false positives label Dec 17, 2024
@fatkodima fatkodima linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false positive Pull requests that fix false positives
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants