aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-08 15:51:52 -0800
committerzotlabs <mike@macgirvin.com>2018-11-08 15:51:52 -0800
commit4e6758e31de60263e3a630c562efb93a11c57edf (patch)
tree9463ac160be8d4212033daa784b3496df475adf3 /install/schema_mysql.sql
parentd2aa2c080f166e23c4aaaefd09ed7c948a1c3cce (diff)
downloadvolse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.tar.gz
volse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.tar.bz2
volse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.zip
item db updates
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 088c0414d..8ece64ae2 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -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`),