schema change to support channel move (a completely different operation than channel clone)
This commit is contained in:
@@ -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` (
|
||||
|
||||
Reference in New Issue
Block a user