Add storage for new Maniphest transactions
Summary: Ref T2217. Add the tables and comment class for the new stuff. Not used yet. Test Plan: Ran storage upgrade, browsed Maniphest. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2217 Differential Revision: https://secure.phabricator.com/D7066
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
final class ManiphestTransactionComment
|
||||
extends PhabricatorApplicationTransactionComment {
|
||||
|
||||
public function getApplicationTransactionObject() {
|
||||
return new ManiphestTransactionPro();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -12,7 +12,7 @@ final class ManiphestTransactionPro
|
||||
}
|
||||
|
||||
public function getApplicationTransactionCommentObject() {
|
||||
return null;
|
||||
return new ManiphestTransactionComment();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1612,6 +1612,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130920.repokeyspolicy.sql'),
|
||||
),
|
||||
'20130921.mtransactions.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130921.mtransactions.sql'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user