X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=database.sql;h=addd396ffd2d10b3924229eadbfae16f9a030069;hb=c3ed31bb8f57fc6ca61393b34d3d6cf72354076b;hp=c691ed67a680ec36d9c6394c5c1a5d58b4416da7;hpb=c8069eda0cb575aef5bb86e92c830810d79e105d;p=friendica.git diff --git a/database.sql b/database.sql index c691ed67a6..addd396ffd 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ -- Friendica 2020.09-dev (Red Hot Poker) --- DB_UPDATE_VERSION 1366 +-- DB_UPDATE_VERSION 1367 -- ------------------------------------------ @@ -585,6 +585,16 @@ CREATE TABLE IF NOT EXISTS `hook` ( UNIQUE INDEX `hook_file_function` (`hook`,`file`,`function`) ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='addon hook registry'; +-- +-- TABLE host +-- +CREATE TABLE IF NOT EXISTS `host` ( + `id` tinyint unsigned NOT NULL auto_increment COMMENT 'sequential ID', + `name` varchar(128) NOT NULL DEFAULT '' COMMENT 'The hostname', + PRIMARY KEY(`id`), + UNIQUE INDEX `name` (`name`) +) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Hostname'; + -- -- TABLE inbox-status -- @@ -1541,6 +1551,7 @@ CREATE VIEW `owner-view` AS SELECT `contact`.`forum` AS `forum`, `contact`.`prv` AS `prv`, `contact`.`contact-type` AS `contact-type`, + `contact`.`manually-approve` AS `manually-approve`, `contact`.`hidden` AS `hidden`, `contact`.`archive` AS `archive`, `contact`.`pending` AS `pending`,