mirror of
https://github.com/SrIzan10/puntos.git
synced 2026-06-06 01:06:59 +00:00
27 lines
622 B
Plaintext
27 lines
622 B
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
|
|
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
model Point {
|
|
id Int @id @default(autoincrement())
|
|
userId String
|
|
createdAt DateTime @default(now())
|
|
number Int
|
|
reason String
|
|
}
|
|
|
|
model PointCount {
|
|
userId String @id
|
|
balance Int
|
|
} |