aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-29 03:02:22 -0800
committerfriendica <info@friendica.com>2012-12-29 03:02:22 -0800
commit39c30d161f2d576252399a92620bfdc9a2f8a9f6 (patch)
tree4b0f3d004d4adaa4a937692be598ee4d5c1b6f32 /install/database.sql
parent098de66c2fcda2e6e2449640e888a0d1f9e5aa84 (diff)
downloadvolse-hubzilla-39c30d161f2d576252399a92620bfdc9a2f8a9f6.tar.gz
volse-hubzilla-39c30d161f2d576252399a92620bfdc9a2f8a9f6.tar.bz2
volse-hubzilla-39c30d161f2d576252399a92620bfdc9a2f8a9f6.zip
add item expires field
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index 02bbb5f0f..cab10005e 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -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`),