mirror of
https://github.com/LukeHagar/baton.git
synced 2025-12-06 04:19:20 +00:00
29 lines
600 B
Plaintext
29 lines
600 B
Plaintext
// 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 = "sqlite"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
model Webhook {
|
|
id Int @id @default(autoincrement())
|
|
headers String
|
|
method String
|
|
path String
|
|
body String
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model RelayTarget {
|
|
id Int @id @default(autoincrement())
|
|
name String
|
|
url String
|
|
active Boolean @default(true)
|
|
createdAt DateTime @default(now())
|
|
}
|