New model class "host"
This commit is contained in:
parent
9870ab8446
commit
6acf660ebd
3 changed files with 102 additions and 2 deletions
12
database.sql
12
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
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue