mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 05:08:04 +00:00
87 lines
1.7 KiB
Text
87 lines
1.7 KiB
Text
generator client {
|
|
provider = "prisma-client-js"
|
|
output = "./client"
|
|
binaryTargets = ["native", "darwin", "darwin-arm64"]
|
|
}
|
|
|
|
datasource db {
|
|
provider = "sqlite"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
model AccountData {
|
|
id String @id @unique
|
|
json String
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model AppData {
|
|
id String @id @unique
|
|
value String
|
|
}
|
|
|
|
model Track {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model Album {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model Artist {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model ArtistAlbum {
|
|
id Int @id @unique
|
|
hotAlbums String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model Playlist {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model Audio {
|
|
id Int @id @unique
|
|
bitRate Int
|
|
format String
|
|
source String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
queriedAt DateTime @default(now())
|
|
}
|
|
|
|
model Lyrics {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model AppleMusicAlbum {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model AppleMusicArtist {
|
|
id Int @id @unique
|
|
json String
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|