add album downloading and rewrite cache

This commit is contained in:
Reid 2025-08-28 16:03:46 -07:00
parent f2800f13c8
commit a3cefee49a
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
33 changed files with 2573 additions and 277 deletions

12
drizzle/0000_init.sql Normal file
View file

@ -0,0 +1,12 @@
CREATE TABLE `file_cache` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`name` text NOT NULL,
`expiry` integer NOT NULL
);
--> statement-breakpoint
CREATE TABLE `key_cache` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`songId` text NOT NULL,
`codec` text NOT NULL,
`decryptionKey` text NOT NULL
);