mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Small corrections to the database definition
This commit is contained in:
parent
6e64091fc7
commit
ca1add20a0
3 changed files with 29 additions and 29 deletions
28
database.sql
28
database.sql
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2018.08-dev (The Tazmans Flax-lily)
|
||||
-- DB_UPDATE_VERSION 1269
|
||||
-- DB_UPDATE_VERSION 1270
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
@ -668,6 +668,19 @@ CREATE TABLE IF NOT EXISTS `oembed` (
|
|||
INDEX `created` (`created`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='cache for OEmbed queries';
|
||||
|
||||
--
|
||||
-- TABLE openwebauth-token
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `openwebauth-token` (
|
||||
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
||||
`uid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'User id',
|
||||
`type` varchar(32) NOT NULL DEFAULT '' COMMENT 'Verify type',
|
||||
`token` varchar(255) NOT NULL DEFAULT '' COMMENT 'A generated token',
|
||||
`meta` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
`created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of creation',
|
||||
PRIMARY KEY(`id`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Store OpenWebAuth token to verify contacts';
|
||||
|
||||
--
|
||||
-- TABLE parsed_url
|
||||
--
|
||||
|
@ -1084,19 +1097,6 @@ CREATE TABLE IF NOT EXISTS `user-item` (
|
|||
PRIMARY KEY(`uid`,`iid`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='User specific item data';
|
||||
|
||||
--
|
||||
-- TABLE openwebauth-token
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `openwebauth-token` (
|
||||
`id` int(10) NOT NULL auto_increment COMMENT 'sequential ID',
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'User id',
|
||||
`type` varchar(32) DEFAULT '' COMMENT 'Verify type',
|
||||
`token` varchar(255) DEFAULT '' COMMENT 'A generated token',
|
||||
`meta` varchar(255) DEFAULT '' COMMENT '',
|
||||
`created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of creation',
|
||||
PRIMARY KEY(`id`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Store OpenWebAuth token to verify contacts';
|
||||
|
||||
--
|
||||
-- TABLE worker-ipc
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue