Skip to content

Commit 3b2fc1a

Browse files
committed
Add data model
1 parent 4b42d00 commit 3b2fc1a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

database/datamodel.graphql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
type User {
1+
type Link {
22
id: ID! @unique
3-
name: String!
3+
createdAt: DateTime!
4+
description: String!
5+
url: String!
46
}

database/prisma.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
endpoint: http://localhost:4466
2-
datamodel: datamodel.graphql
2+
datamodel: datamodel.graphql

0 commit comments

Comments
 (0)