Mo El
12/14/2021, 1:27 AMNULL?Jared Fraser
12/14/2021, 2:58 AM?
model SomeEntity {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
name String? @db.VarChar
}
depending on the underlying database technology you use may change things but for postgres
If no default value is declared explicitly, the default value is the null valueMo El
12/14/2021, 6:10 PM