Skip to content

Commit f7bf471

Browse files
committed
update starter
1 parent 9ebfcf8 commit f7bf471

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

packages/schema/src/res/starter.zmodel

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// This is a sample model to get you started.
22

3-
/**
4-
* A sample data source using local sqlite db.
5-
*/
3+
/// A sample data source using local sqlite db.
64
datasource db {
75
provider = 'sqlite'
86
url = 'file:./dev.db'
@@ -12,9 +10,7 @@ generator client {
1210
provider = "prisma-client-js"
1311
}
1412

15-
/**
16-
* User model
17-
*/
13+
/// User model
1814
model User {
1915
id String @id @default(cuid())
2016
email String @unique @email @length(6, 32)
@@ -28,9 +24,7 @@ model User {
2824
@@allow('all', auth() == this)
2925
}
3026

31-
/**
32-
* Post model
33-
*/
27+
/// Post model
3428
model Post {
3529
id String @id @default(cuid())
3630
createdAt DateTime @default(now())

0 commit comments

Comments
 (0)