Blacklisted column ignored #1064
sami-sweng
started this conversation in
General
Replies: 2 comments 6 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
So, the issue seems to be that you have whitelist defined.. You are meant to use either a whitelist OR a blacklist, and since the presence of a whitelist is checked first, that makes having a blacklist completely redundant. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you're having a generation problem please answer these questions before submitting your issue. Thanks!
What version of SQLBoiler are you using (
sqlboiler --version
)?4.6.0
What is your database and version (eg. Postgresql 10)
Cockroach 20.2.4
If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)
sqlboiler crdb --config configs/dbal/sqlboiler.toml --wipe --no-hooks --no-rows-affected --no-tests --add-soft-deletes
If this happened at runtime what code produced the issue? (if not applicable leave blank)
What is the output of the command above with the
-d
flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)
Further information. What did you do, what did you expect?
In sqlboiler.toml I have
But the generator seems to be ignoring the blacklist and still creates a struct containing it. Is there some issue with the way the blacklist is declared?
Beta Was this translation helpful? Give feedback.
All reactions