Revert node.config.php into Config table

This commit is contained in:
Philipp Holzer 2023-02-05 00:15:01 +01:00
commit 513ef03421
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
27 changed files with 425 additions and 829 deletions

View file

@ -55,7 +55,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1513);
define('DB_UPDATE_VERSION', 1514);
}
return [
@ -557,12 +557,14 @@ return [
"config" => [
"comment" => "main configuration storage",
"fields" => [
"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => ""],
"cat" => ["type" => "varbinary(50)", "not null" => "1", "default" => "", "comment" => "The category of the entry"],
"k" => ["type" => "varbinary(50)", "not null" => "1", "default" => "", "comment" => "The key of the entry"],
"v" => ["type" => "mediumtext", "comment" => ""],
],
"indexes" => [
"PRIMARY" => ["cat", "k"],
"PRIMARY" => ["id"],
"cat_k" => ["UNIQUE", "cat", "k"],
]
],
"contact-relation" => [