I'm using Postgres and declaring my IDs as `id Str...
# orm-help
c
I'm using Postgres and declaring my IDs as
id String @id @db.Uuid
as I like having the option to generate IDs programmatically (even on the client) before doing an insert, however I'm considering switching to
id String @id @default(uuid()) @db.Uuid
so I don't HAVE to supply an ID every time I do an insert. Just want to confirm I'd still be able to supply an ID generated programmatically when doing an insert?
r
@Chris Tsongas 👋 Yes you can still supply an ID when you want to.