1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-04 18:48:20 +08:00

feat(sql): Support sql based configuration provider.

This commit is contained in:
2023-12-24 04:52:28 +08:00
parent aa50345329
commit 374f646f9e
14 changed files with 547 additions and 103 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
CREATE TABLE IF NOT EXISTS conf
(
`namespace` VARCHAR(255) NOT NULL, #
`path` VARCHAR(255) NOT NULL, # (ConfigPath)
`namespace` VARCHAR(32) NOT NULL, # ()
`path` VARCHAR(96) NOT NULL, # (ConfigPath)
`type` TINYINT UNSIGNED NOT NULL DEFAULT 0, # (Integer/Byte/List/Map/...)
`value` MEDIUMTEXT, # (JSON格式)
`inline_comments` TEXT, #