1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications/drydock/query
epriestley c6aade4392 Give Drydock leases a resourcePHID instead of a resourceID
Summary:
Ref T9252. Leases currently have a `resourceID`, but this is a bit nonstandard and generally less flexible than giving them a `resourcePHID`.

In particular, a `resourcePHID` is easier to use when rendering interfaces, since you can get handles out of a PHID.

Add a PHID column, copy over all the PHIDs that correspond to existing IDs, then drop the ID column.

Test Plan:
  - Browsed web UIs.
  - Inspected database during/after migration.
  - Grepped for `resourceID`.
  - Allocated a new lease with `bin/drydock lease`.

Reviewers: chad, hach-que

Reviewed By: hach-que

Maniphest Tasks: T9252

Differential Revision: https://secure.phabricator.com/D14151
2015-09-24 04:19:27 -07:00
..
DrydockBlueprintQuery.php Modernize Drydock Query + Attach code 2015-09-21 04:42:04 -07:00
DrydockBlueprintSearchEngine.php [Redesign] PhabricatorApplicationSearchResultView 2015-06-19 11:46:20 +01:00
DrydockBlueprintTransactionQuery.php Add transactions to Drydock blueprint editing 2014-01-09 12:19:54 -08:00
DrydockCommandQuery.php Add a command queue to Drydock to manage lease/resource release 2015-09-23 07:42:08 -07:00
DrydockLeaseQuery.php Give Drydock leases a resourcePHID instead of a resourceID 2015-09-24 04:19:27 -07:00
DrydockLeaseSearchEngine.php Implement a rough AlmanacService blueprint in Drydock 2015-09-21 04:43:53 -07:00
DrydockLogQuery.php Fix issues where Drydock queries didn't work correctly with empty arrays 2015-08-24 21:23:04 +10:00
DrydockLogSearchEngine.php Fix issues where Drydock queries didn't work correctly with empty arrays 2015-08-24 21:23:04 +10:00
DrydockQuery.php Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
DrydockResourceQuery.php Modernize Drydock Query + Attach code 2015-09-21 04:42:04 -07:00
DrydockResourceSearchEngine.php [Redesign] PhabricatorApplicationSearchResultView 2015-06-19 11:46:20 +01:00