port hubzillas OpenWebAuth - remote authentification
This commit is contained in:
parent
5fb8c758fd
commit
1c7f4e3c63
16 changed files with 1151 additions and 41 deletions
17
database.sql
17
database.sql
|
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2018.08-dev (The Tazmans Flax-lily)
|
||||
-- DB_UPDATE_VERSION 1268
|
||||
-- DB_UPDATE_VERSION 1269
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
|
@ -375,7 +375,7 @@ CREATE TABLE IF NOT EXISTS `group` (
|
|||
CREATE TABLE IF NOT EXISTS `group_member` (
|
||||
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
||||
`gid` int unsigned NOT NULL DEFAULT 0 COMMENT 'groups.id of the associated group',
|
||||
`contact-id` int unsigned NOT NULL DEFAULT 0 COMMENT 'contact.id of the member assigned to the associated group',
|
||||
`contact-id` int unsigned NOT NULL DEFAULT 0 COMMENT 'contact.id of the member assigned to the associated group',
|
||||
PRIMARY KEY(`id`),
|
||||
INDEX `contactid` (`contact-id`),
|
||||
UNIQUE INDEX `gid_contactid` (`gid`,`contact-id`)
|
||||
|
|
@ -1084,6 +1084,19 @@ CREATE TABLE IF NOT EXISTS `user-item` (
|
|||
PRIMARY KEY(`uid`,`iid`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='User specific item data';
|
||||
|
||||
--
|
||||
-- TABLE verify
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `verify` (
|
||||
`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 token to verify contacts';
|
||||
|
||||
--
|
||||
-- TABLE worker-ipc
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue