mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
7ce516877e
commit
ccebe0a67a
74 changed files with 56065 additions and 2810 deletions
87
packages/desktop/prisma/client/schema.prisma
Normal file
87
packages/desktop/prisma/client/schema.prisma
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue