Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ps73 committed Feb 11, 2024
1 parent bbb7474 commit f035b29
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"url": "https://github.com/ps73/feathers-prisma/issues"
},
"engines": {
"node": ">= 18"
"node": ">= 16"
},
"scripts": {
"generate": "prisma generate",
Expand Down
15 changes: 8 additions & 7 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

datasource db {
Expand All @@ -24,7 +25,7 @@ model Todo {
done Boolean @default(false)
prio Int @default(0)
userId Int
user User @relation(fields: [userId], references: [id])
user User @relation(fields: [userId], references: [id])
}

model PeopleId {
Expand All @@ -36,9 +37,9 @@ model PeopleId {
}

model People {
id Int @id @default(autoincrement())
name String
age Int?
time Int?
created Boolean?
id Int @id @default(autoincrement())
name String
age Int?
time Int?
created Boolean?
}
Binary file modified prisma/tests.db
Binary file not shown.

0 comments on commit f035b29

Please sign in to comment.