aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-16 21:40:43 -0700
committerzotlabs <mike@macgirvin.com>2018-04-16 21:40:43 -0700
commit43e55eb9a6cb66ad040064fca8b8296bcd298a03 (patch)
tree8b67b9cf7b7b13fde7099b29f3ee6feade8974f4 /install/schema_mysql.sql
parent120e578a6778471cc03a04c47b9af34628fc6c8e (diff)
downloadvolse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.tar.gz
volse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.tar.bz2
volse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.zip
Active channels information is a bit imprecise. Provide a higher accuracy method. This will require a transition period
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index bfb49d195..1e91619e3 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -259,6 +259,7 @@ CREATE TABLE IF NOT EXISTS `channel` (
`channel_dirdate` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
`channel_lastpost` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
`channel_deleted` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
+ `channel_active` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
`channel_max_anon_mail` int(10) unsigned NOT NULL DEFAULT 10,
`channel_max_friend_req` int(10) unsigned NOT NULL DEFAULT 10,
`channel_expire_days` int(11) NOT NULL DEFAULT 0 ,
@@ -308,6 +309,7 @@ CREATE TABLE IF NOT EXISTS `channel` (
KEY `channel_hash` (`channel_hash`),
KEY `channel_expire_days` (`channel_expire_days`),
KEY `channel_deleted` (`channel_deleted`),
+ KEY `channel_active` (`channel_active`),
KEY `channel_dirdate` (`channel_dirdate`),
KEY `channel_removed` (`channel_removed`),
KEY `channel_system` (`channel_system`),