79443336

Date: 2025-02-16 14:44:18
Score: 1
Natty:
Report link

I used this information, but I made a small change when I needed to use notNull.

The notNull method didn't work in this case:

price: 
  decimal("price", {
    precision: 10,
    scale: 2,
  }).notNull() as unknown as PgDoublePrecisionBuilderInitial<"price">

So I changed it to:

price: (
  decimal("price", {
    precision: 10,
    scale: 2,
  }) as unknown as PgDoublePrecisionBuilderInitial<"price">
).notNull()
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bernardo Gomes