add item expires field

This commit is contained in:
friendica
2012-12-29 03:02:22 -08:00
parent 098de66c2f
commit 39c30d161f
3 changed files with 13 additions and 2 deletions

View File

@@ -432,6 +432,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`thr_parent` char(255) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`expires` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`commented` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`received` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`changed` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
@@ -484,6 +485,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `verb` (`verb`),
KEY `item_private` (`item_private`),
KEY `llink` (`llink`),
KEY `expires` (`expires`),
FULLTEXT KEY `title` (`title`),
FULLTEXT KEY `body` (`body`),
FULLTEXT KEY `allow_cid` (`allow_cid`),