mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
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:
parent
3b2aed16c9
commit
dd076a813f
3 changed files with 8 additions and 3 deletions
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
|
||||
implements PhabricatorPolicyInterface {
|
||||
|
||||
protected $channel;
|
||||
protected $channelID;
|
||||
protected $epoch;
|
||||
protected $author;
|
||||
|
|
|
@ -1125,6 +1125,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130214.token.sql'),
|
||||
),
|
||||
'20130215.phabricatorfileaddttl.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130215.phabricatorfileaddttl.sql'),
|
||||
),
|
||||
'20130217.cachettl.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130217.cachettl.sql'),
|
||||
|
@ -1145,9 +1149,9 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||
'type' => 'php',
|
||||
'name' => $this->getPatchPath('20130219.commitsummarymig.php'),
|
||||
),
|
||||
'20130215.phabricatorfileaddttl.sql' => array(
|
||||
'20130222.dropchannel.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130215.phabricatorfileaddttl.sql'),
|
||||
'name' => $this->getPatchPath('20130222.dropchannel.sql'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue