defaultRandom() on uuid results in an error

id: uuid('id').unique().primaryKey().notNull().defaultRandom(),
id: uuid('id').unique().primaryKey().notNull().defaultRandom(),
upon insert, this results in the error: NeonDbError: db error: ERROR: invalid input syntax for type uuid: "ia4afwolcuk4rks"
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server