Updated sql file
This commit is contained in:
parent
d7c477d0f4
commit
f081f15096
|
@ -504,7 +504,6 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||||
`pubmail` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`pubmail` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`moderated` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`moderated` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`visible` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`visible` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`spam` boolean NOT NULL DEFAULT '0' COMMENT '',
|
|
||||||
`starred` boolean NOT NULL DEFAULT '0' COMMENT 'item has been favourited',
|
`starred` boolean NOT NULL DEFAULT '0' COMMENT 'item has been favourited',
|
||||||
`bookmark` boolean NOT NULL DEFAULT '0' COMMENT 'item has been bookmarked',
|
`bookmark` boolean NOT NULL DEFAULT '0' COMMENT 'item has been bookmarked',
|
||||||
`unseen` boolean NOT NULL DEFAULT '1' COMMENT 'item has not been seen',
|
`unseen` boolean NOT NULL DEFAULT '1' COMMENT 'item has not been seen',
|
||||||
|
@ -515,7 +514,6 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||||
`network` char(4) NOT NULL DEFAULT '' COMMENT 'Network from where the item comes from',
|
`network` char(4) NOT NULL DEFAULT '' COMMENT 'Network from where the item comes from',
|
||||||
`rendered-hash` varchar(32) NOT NULL DEFAULT '' COMMENT '',
|
`rendered-hash` varchar(32) NOT NULL DEFAULT '' COMMENT '',
|
||||||
`rendered-html` mediumtext COMMENT 'item.body converted to html',
|
`rendered-html` mediumtext COMMENT 'item.body converted to html',
|
||||||
`global` boolean NOT NULL DEFAULT '0' COMMENT '',
|
|
||||||
PRIMARY KEY(`id`),
|
PRIMARY KEY(`id`),
|
||||||
INDEX `guid` (`guid`(191)),
|
INDEX `guid` (`guid`(191)),
|
||||||
INDEX `uri` (`uri`(191)),
|
INDEX `uri` (`uri`(191)),
|
||||||
|
@ -976,7 +974,6 @@ CREATE TABLE IF NOT EXISTS `thread` (
|
||||||
`pubmail` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`pubmail` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`moderated` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`moderated` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`visible` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`visible` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`spam` boolean NOT NULL DEFAULT '0' COMMENT '',
|
|
||||||
`starred` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`starred` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`ignored` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`ignored` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
`bookmark` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`bookmark` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
|
@ -1082,7 +1079,7 @@ CREATE TABLE IF NOT EXISTS `userd` (
|
||||||
CREATE TABLE IF NOT EXISTS `user-item` (
|
CREATE TABLE IF NOT EXISTS `user-item` (
|
||||||
`iid` int unsigned NOT NULL DEFAULT 0 COMMENT 'Item id',
|
`iid` int unsigned NOT NULL DEFAULT 0 COMMENT 'Item id',
|
||||||
`uid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'User id',
|
`uid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'User id',
|
||||||
`hidden` boolean NOT NULL DEFAULT '0' COMMENT 'Hidden marker',
|
`hidden` boolean NOT NULL DEFAULT '0' COMMENT 'Marker to hide an item from the user',
|
||||||
PRIMARY KEY(`uid`,`iid`)
|
PRIMARY KEY(`uid`,`iid`)
|
||||||
) DEFAULT COLLATE utf8mb4_general_ci;
|
) DEFAULT COLLATE utf8mb4_general_ci;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue