auto/prisma/schema.prisma

42 lines
917 B
Plaintext
Raw Normal View History

2023-03-28 14:52:17 +00:00
// 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 = "postgresql"
url = env("DATABASE_URL")
}
model videos {
uuid String @id @default(uuid())
id String @unique
title String
description String
thumbnail String
source String
published String
archived String
channel String
channelId String
channelVerified Boolean
channelAvatar String
playlist String?
disabled Boolean @default(false)
}
model reports {
uuid String @id @default(uuid())
target String
url String
title String
details String
date DateTime @default(now())
}
model autodownload {
uuid String @id @default(uuid())
channel String
}