aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-24 16:59:50 -0800
committerredmatrix <git@macgirvin.com>2016-02-24 17:00:16 -0800
commit6300f47cdcd921141b8f98b71d373d53aa3d80f2 (patch)
tree4eff5f2dbcd3fbe78e55726186534091832ebf6a /install/schema_mysql.sql
parent2b95580cc006b410c8df7b71846872b0defba68d (diff)
downloadvolse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.tar.gz
volse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.tar.bz2
volse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.zip
schema change to support channel move (a completely different operation than channel clone)
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 161c174e5..07a88cf0a 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -230,6 +230,7 @@ CREATE TABLE IF NOT EXISTS `channel` (
`channel_w_like` int(10) unsigned NOT NULL DEFAULT '0',
`channel_removed` tinyint(1) NOT NULL DEFAULT '0',
`channel_system` tinyint(1) NOT NULL DEFAULT '0',
+ `channel_moved` char(255) NOT NULL DEFAULT '',
PRIMARY KEY (`channel_id`),
UNIQUE KEY `channel_address_unique` (`channel_address`),
KEY `channel_account_id` (`channel_account_id`),
@@ -268,7 +269,8 @@ CREATE TABLE IF NOT EXISTS `channel` (
KEY `channel_w_like` (`channel_w_like`),
KEY `channel_removed` (`channel_removed`),
KEY `channel_system` (`channel_system`),
- KEY `channel_lastpost` (`channel_lastpost`)
+ KEY `channel_lastpost` (`channel_lastpost`),
+ KEY `channel_moved` (`channel_moved`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `chat` (