mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
Code standards and updated database documentation
This commit is contained in:
parent
81b244f91e
commit
c8d1bf4cdf
4 changed files with 50 additions and 2 deletions
17
database.sql
17
database.sql
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2022.09-dev (Giant Rhubarb)
|
||||
-- DB_UPDATE_VERSION 1476
|
||||
-- DB_UPDATE_VERSION 1477
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
@ -632,6 +632,21 @@ CREATE TABLE IF NOT EXISTS `fcontact` (
|
|||
FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Diaspora compatible contacts - used in the Diaspora implementation';
|
||||
|
||||
--
|
||||
-- TABLE fetch-entry
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `fetch-entry` (
|
||||
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
||||
`url` varbinary(255) COMMENT 'url that awaiting to be fetched',
|
||||
`created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Creation date of the fetch request',
|
||||
`wid` int unsigned COMMENT 'Workerqueue id',
|
||||
PRIMARY KEY(`id`),
|
||||
UNIQUE INDEX `url` (`url`),
|
||||
INDEX `created` (`created`),
|
||||
INDEX `wid` (`wid`),
|
||||
FOREIGN KEY (`wid`) REFERENCES `workerqueue` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='';
|
||||
|
||||
--
|
||||
-- TABLE fsuggest
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue