]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Remove reference to remove field in event table
[friendica.git] / database.sql
index 843db1f6cffb649a3b1bd83b495b30e3d3732fb8..053f0c7279b6ad1a8116517728d569cd7b95af0d 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2023.03-dev (Giant Rhubarb)
--- DB_UPDATE_VERSION 1513
+-- DB_UPDATE_VERSION 1515
 -- ------------------------------------------
 
 
@@ -495,6 +495,18 @@ CREATE TABLE IF NOT EXISTS `cache` (
         INDEX `k_expires` (`k`,`expires`)
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Stores temporary data';
 
+--
+-- TABLE config
+--
+CREATE TABLE IF NOT EXISTS `config` (
+       `id` int unsigned NOT NULL auto_increment COMMENT '',
+       `cat` varbinary(50) NOT NULL DEFAULT '' COMMENT 'The category of the entry',
+       `k` varbinary(50) NOT NULL DEFAULT '' COMMENT 'The key of the entry',
+       `v` mediumtext COMMENT '',
+        PRIMARY KEY(`id`),
+        UNIQUE INDEX `cat_k` (`cat`,`k`)
+) DEFAULT COLLATE utf8mb4_general_ci COMMENT='main configuration storage';
+
 --
 -- TABLE contact-relation
 --