1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 04:32:43 +01:00
phorge-phorge/src/applications/owners
epriestley 8cb273a053 Add a unique key to OwnersPath on "<packageID, repositoryPHID, pathIndex>"
Summary:
Depends on D19181. Ref T11015. This nukes duplicates from the table if they exist, then adds a unique key.

(Duplicates should not exist and can not be added with any recent version of the web UI.)

Test Plan:
  - Tried to add duplicates with web UI, didn't have any luck.
  - Explicitly added duplicates with manual `INSERT`s.
  - Viewed packages in web UI and saw duplicates.
  - Ran migrations, got a clean purge and a nice unique key.
  - There's still no way to actually hit a duplicate key error in the UI (unless you can collide hashes, I suppose), this is purely a correctness/robustness change.

Maniphest Tasks: T11015

Differential Revision: https://secure.phabricator.com/D19182
2018-03-06 20:30:59 -08:00
..
application Give Owners packages the "O" monogram 2016-05-13 17:18:15 -07:00
capability Give Owners real view and edit policies 2016-02-15 11:56:35 -08:00
conduit Formally deprecate owners.query Conduit API method 2016-04-20 09:04:45 -07:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Separate button CSS classes 2017-06-05 20:14:34 +00:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Use object PHIDs for "Thread-Topic" headers in mail 2018-02-08 06:21:00 -08:00
engineextension Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00
lipsum Add an owners package generator for Lipsum 2017-02-27 09:11:04 -08:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
phid Add more mail stamps: tasks, subscribers, projects, spaces 2018-02-06 04:05:46 -08:00
query Support Ferret engine in Owners 2017-09-07 13:23:46 -07:00
remarkup Give Owners packages the "O" monogram 2016-05-13 17:18:15 -07:00
search Support Ferret engine in Owners 2017-09-07 13:23:46 -07:00
searchfield Flesh out Conduit parmeter types for maniphest.search 2015-12-14 04:24:01 -08:00
storage Add a unique key to OwnersPath on "<packageID, repositoryPHID, pathIndex>" 2018-03-06 20:30:59 -08:00
typeahead Allow "O42" to find packages by monogram in Owners typeaheads 2017-01-04 15:08:37 -08:00
xaction Allow transactions to specialize their mail headers for diff sections 2016-11-07 12:16:39 -08:00