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()