Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
fix: Updated sended values, and id definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jhordyess committed Oct 25, 2024
1 parent 3287697 commit 7d723f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ datasource db {
}

model User {
id String @id @default(uuid()) @map("_id") @db.ObjectId
id String @id @default(auto()) @map("_id") @db.ObjectId
username String @unique
email String @unique
password String
Expand Down
1 change: 0 additions & 1 deletion backend/src/graphql/types/User.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ input CreateUserInput {
username: String!
password: String!
email: String!
active: Boolean!
role: Role!
}

Expand Down

0 comments on commit 7d723f8

Please sign in to comment.