Skip to content

Commit 560c1b9

Browse files
committed
fix tests
1 parent 5734847 commit 560c1b9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/runtime/test/schemas/todo/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ export const schema = {
180180
password: {
181181
name: "password",
182182
type: "String",
183-
optional: true,
184-
attributes: [{ name: "@password" }, { name: "@omit" }]
183+
optional: true
185184
},
186185
emailVerified: {
187186
name: "emailVerified",

packages/runtime/test/schemas/todo/todo.zmodel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ model User {
7070
createdAt DateTime @default(now())
7171
updatedAt DateTime @updatedAt
7272
email String @unique @email
73-
password String? @password @omit
73+
password String?
7474
emailVerified DateTime?
7575
name String?
7676
bio String? @ignore

0 commit comments

Comments
 (0)