How to tell Drizzle that a column whose value is assigned in a pg trigger is not required

I have a non-nullable column whose value is set in a Postgres insert trigger (like
NEW.count = 123
). How can I avoid TS errors when I try
db.insert(myTable).values({})
? Drizzle is complaining that
count
in this case needs a value.
Was this page helpful?