19 lines
487 B
Plaintext
19 lines
487 B
Plaintext
datasource db {
|
|
provider = "sqlite"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
model Counter {
|
|
id Int @id @default(autoincrement())
|
|
name String? // human-friendly name for the counter
|
|
value Int @default(0)
|
|
imageUrl String? // nullable URL for uploaded image
|
|
position Int @default(0) // used for ordering
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|