SQL patch to drop channel field.
Summary: Deleted the channel field and added a sql patch to drop the channel field. Test Plan: I have messed up my local mysql:P, hence by storage upgrade is failing. Anyways, The chatlog_event table shouldn't contain the channel column now. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5011
This commit is contained in:
committed by
epriestley
parent
3b2aed16c9
commit
dd076a813f
2
resources/sql/patches/20130222.dropchannel.sql
Normal file
2
resources/sql/patches/20130222.dropchannel.sql
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE `{$NAMESPACE}_chatlog`.`chatlog_event`
|
||||||
|
DROP channel;
|
||||||
@@ -4,7 +4,6 @@ final class PhabricatorChatLogEvent
|
|||||||
extends PhabricatorChatLogDAO
|
extends PhabricatorChatLogDAO
|
||||||
implements PhabricatorPolicyInterface {
|
implements PhabricatorPolicyInterface {
|
||||||
|
|
||||||
protected $channel;
|
|
||||||
protected $channelID;
|
protected $channelID;
|
||||||
protected $epoch;
|
protected $epoch;
|
||||||
protected $author;
|
protected $author;
|
||||||
|
|||||||
@@ -1125,6 +1125,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||||||
'type' => 'sql',
|
'type' => 'sql',
|
||||||
'name' => $this->getPatchPath('20130214.token.sql'),
|
'name' => $this->getPatchPath('20130214.token.sql'),
|
||||||
),
|
),
|
||||||
|
'20130215.phabricatorfileaddttl.sql' => array(
|
||||||
|
'type' => 'sql',
|
||||||
|
'name' => $this->getPatchPath('20130215.phabricatorfileaddttl.sql'),
|
||||||
|
),
|
||||||
'20130217.cachettl.sql' => array(
|
'20130217.cachettl.sql' => array(
|
||||||
'type' => 'sql',
|
'type' => 'sql',
|
||||||
'name' => $this->getPatchPath('20130217.cachettl.sql'),
|
'name' => $this->getPatchPath('20130217.cachettl.sql'),
|
||||||
@@ -1145,9 +1149,9 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||||||
'type' => 'php',
|
'type' => 'php',
|
||||||
'name' => $this->getPatchPath('20130219.commitsummarymig.php'),
|
'name' => $this->getPatchPath('20130219.commitsummarymig.php'),
|
||||||
),
|
),
|
||||||
'20130215.phabricatorfileaddttl.sql' => array(
|
'20130222.dropchannel.sql' => array(
|
||||||
'type' => 'sql',
|
'type' => 'sql',
|
||||||
'name' => $this->getPatchPath('20130215.phabricatorfileaddttl.sql'),
|
'name' => $this->getPatchPath('20130222.dropchannel.sql'),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user