toml config, database storage for repositories / singletons (#6893)

This commit is contained in:
silicons
2024-12-15 19:41:14 +01:00
committed by GitHub
parent 3ebe8c85d4
commit 4c75a8b00b
97 changed files with 1267 additions and 699 deletions
@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS `backend_repository` (
`repository` VARCHAR(64) NOT NULL,
`id` VARCHAR(128) NOT NULL,
`version` INT(11) NOT NULL,
`data` MEDIUMTEXT NOT NULL,
`createdTime` DATETIME NOT NULL DEFAULT Now(),
`modifiedTime` DATETIME NOT NULL DEFAULT Now(),
PRIMARY KEY(`repository`, `id`),
INDEX(`repository`),
INDEX(`id`)
)