Drizzle incorrectly building query with DEFAULT instead of $11 in insertion
Drizzle ORM built this query:
Here's the query:
Why do
majestic_backlink_count
and majestic_referring_domain_count
not have values like $11
? This is resulting in data being set to NULL
instead of the number value I've specified. How do I fix this?1 Reply
Here's my schema, there seems to be no reason why majestic_citation_flow would be treated any differently than the others:
Huh, I guess the commonality between the two that aren't getting values is that they both end in
_count
It seems renaming the columns to not end in _count
fixes it
This is a nasty bug in Drizzle, though