item db updates
This commit is contained in:
parent
d2aa2c080f
commit
4e6758e31d
@ -579,6 +579,7 @@ CREATE TABLE IF NOT EXISTS `issue` (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `item` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`uuid` char(191) NOT NULL DEFAULT '',
|
||||
`mid` char(191) NOT NULL DEFAULT '',
|
||||
`aid` int(10) unsigned NOT NULL DEFAULT 0 ,
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT 0 ,
|
||||
@ -597,6 +598,7 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||
`source_xchan` char(191) NOT NULL DEFAULT '',
|
||||
`mimetype` char(191) NOT NULL DEFAULT '',
|
||||
`title` text NOT NULL,
|
||||
`summary` mediumtext NOT NULL,
|
||||
`body` mediumtext NOT NULL,
|
||||
`html` mediumtext NOT NULL,
|
||||
`app` char(191) NOT NULL DEFAULT '',
|
||||
@ -651,6 +653,7 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||
`item_pending_remove` tinyint(1) NOT NULL DEFAULT 0 ,
|
||||
`item_blocked` tinyint(1) NOT NULL DEFAULT 0 ,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `uuid` (`uuid`),
|
||||
KEY `parent` (`parent`),
|
||||
KEY `created` (`created`),
|
||||
KEY `edited` (`edited`),
|
||||
|
@ -550,6 +550,7 @@ create index "issue_component" on issue ("issue_component");
|
||||
|
||||
CREATE TABLE "item" (
|
||||
"id" serial NOT NULL,
|
||||
"uuid" text NOT NULL DEFAULT '',
|
||||
"mid" text NOT NULL DEFAULT '',
|
||||
"aid" bigint NOT NULL DEFAULT '0',
|
||||
"uid" bigint NOT NULL DEFAULT '0',
|
||||
@ -568,6 +569,7 @@ CREATE TABLE "item" (
|
||||
"source_xchan" text NOT NULL DEFAULT '',
|
||||
"mimetype" text NOT NULL DEFAULT '',
|
||||
"title" text NOT NULL,
|
||||
"summary" text NOT NULL,
|
||||
"body" text NOT NULL,
|
||||
"html" text NOT NULL,
|
||||
"app" text NOT NULL DEFAULT '',
|
||||
@ -625,6 +627,7 @@ CREATE TABLE "item" (
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
create index "item_uid" on item ("uid");
|
||||
create index "item_uuid" on item ("uuid");
|
||||
create index "item_parent" on item ("parent");
|
||||
create index "item_created" on item ("created");
|
||||
create index "item_edited" on item ("edited");
|
||||
|
Reference in New Issue
Block a user