Create libraries based on external unmanaged directories (#147)

* Library management is now complete

* Library functions complete

* Added default platform support
This commit is contained in:
Michael Green
2023-10-08 18:19:59 -07:00
committed by GitHub
parent fc09db60ab
commit 1934558595
19 changed files with 709 additions and 158 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE `GameLibraries` (
`Id` int NOT NULL AUTO_INCREMENT,
`Name` VARCHAR(255) NOT NULL,
`Path` longtext NOT NULL,
`DefaultLibrary` int NOT NULL DEFAULT '0',
`DefaultPlatform` bigint NOT NULL DEFAULT '0',
PRIMARY KEY (`Id`)
);
ALTER TABLE `Games_Roms`
ADD COLUMN `LibraryId` INT NULL DEFAULT 0 AFTER `MetadataVersion`;