eletrotupi / tcc/ api/prisma/schema.prismaa6b6444fc87578433012486bbbd1549d6dd0b6be
469 B | 21 lines Raw
1
generator client {
2
  provider = "prisma-client-js"
3
  //output   = "../src/generated/prisma"
4
}
5

6
datasource db {
7
  provider = "sqlite"
8
}
9

10
model User {
11
  id Int @id @default(autoincrement())
12
  firstName String @map("first_name")
13
  lastName String? @map("last_name") 
14
  email String @unique
15
  encryptedPassword String @map("encrypted_password")
16
  createdAt DateTime @default(now()) @map("created_at")
17
  updatedAt DateTime @updatedAt @map("updated_at")
18

19

20
  @@map("users")
21
}