-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ytdl-mpv)!: split cache main table in main + meta
start using the real power of relational database related changes: * this will allow to update metadata for a given video id separately from main table that will contain only the search id and the video id (foreign key) * the update strategy of meta table is INSERT for new records and bulk UPDATE for already present ones, without history * DISTINCT SELECT when searching inside playlist is not needed anymore cause selecting inside meta table that has primary key enforcement over video id * check db initialization and tables presence at the script start and not only when trying to cache an element
- Loading branch information
Showing
2 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters