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:
epriestley
2013-09-23 14:24:58 -07:00
parent bfa2abed84
commit 4c2bd2ca8e
4 changed files with 56 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
<?php
final class ManiphestTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new ManiphestTransactionPro();
}
}

View File

@@ -12,7 +12,7 @@ final class ManiphestTransactionPro
}
public function getApplicationTransactionCommentObject() {
return null;
return new ManiphestTransactionComment();
}
}

View File

@@ -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'),
),
);
}
}