mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Remove ReleephProject->repositoryID writes
Summary: Ref T3655. Depends on D6633. This removes the writes and the column. Test Plan: Created a project, edited a project. Verified the table doesn't have any keys including this column. Reviewers: btrahan Reviewed By: btrahan CC: LegNeato, aran Maniphest Tasks: T3655 Differential Revision: https://secure.phabricator.com/D6634
This commit is contained in:
parent
a7955e919c
commit
296818e129
4 changed files with 6 additions and 2 deletions
2
resources/sql/patches/20130731.releephrepoid.sql
Normal file
2
resources/sql/patches/20130731.releephrepoid.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_releeph.releeph_project
|
||||
DROP repositoryID;
|
|
@ -34,7 +34,6 @@ final class ReleephProjectCreateController extends ReleephProjectController {
|
|||
$releeph_project = id(new ReleephProject())
|
||||
->setName($name)
|
||||
->setTrunkBranch($trunk_branch)
|
||||
->setRepositoryID($pr_repository->getID())
|
||||
->setRepositoryPHID($pr_repository->getPHID())
|
||||
->setArcanistProjectID($arc_project->getID())
|
||||
->setCreatedByUserPHID($request->getUser()->getPHID())
|
||||
|
|
|
@ -18,7 +18,6 @@ final class ReleephProject extends ReleephDAO
|
|||
// been picked and which haven't.
|
||||
protected $trunkBranch;
|
||||
|
||||
protected $repositoryID;
|
||||
protected $repositoryPHID;
|
||||
protected $isActive;
|
||||
protected $createdByUserPHID;
|
||||
|
|
|
@ -1535,6 +1535,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130802.heraldxactions.sql'),
|
||||
),
|
||||
'20130731.releephrepoid.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130731.releephrepoid.sql'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue