We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebfcf8 commit f7bf471Copy full SHA for f7bf471
packages/schema/src/res/starter.zmodel
@@ -1,8 +1,6 @@
1
// This is a sample model to get you started.
2
3
-/**
4
- * A sample data source using local sqlite db.
5
- */
+/// A sample data source using local sqlite db.
6
datasource db {
7
provider = 'sqlite'
8
url = 'file:./dev.db'
@@ -12,9 +10,7 @@ generator client {
12
10
provider = "prisma-client-js"
13
11
}
14
15
16
- * User model
17
+/// User model
18
model User {
19
id String @id @default(cuid())
20
email String @unique @email @length(6, 32)
@@ -28,9 +24,7 @@ model User {
28
24
@@allow('all', auth() == this)
29
25
30
26
31
32
- * Post model
33
27
+/// Post model
34
model Post {
35
36
createdAt DateTime @default(now())
0 commit comments