Files
ospab.host/ospabhost/backend/prisma/schema.prisma

27 lines
684 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
}
model User {
id Int @id @default(autoincrement())
username String
email String @unique
password String
createdAt DateTime @default(now())
}
// Пока что у тебя нет других моделей, но ты можешь
// добавить их сюда позже, например:
// model Plan {
// id Int @id @default(autoincrement())
// name String @unique
// price Float
// }