This website requires JavaScript.
Explore
Help
Sign in
revi-archive
/
phorge-phorge
Watch
1
Star
0
Fork
You've already forked phorge-phorge
0
mirror of
https://we.phorge.it/source/phorge.git
synced
2024-11-30 02:32:42 +01:00
Code
Issues
Releases
Wiki
Activity
80b18278b8
phorge-phorge
/
resources
/
sql
/
patches
/
migrate-maniphest-dependencies.php
4 lines
73 B
PHP
Raw
Normal View
History
Unescape
Escape
Use Edges to store dependencies between tasks in Maniphest Summary: - Use edges to store "X depends on Y" information in Maniphest. - Show both "Depends On" and "Dependent Tasks". - Migrate all the old edges. Test Plan: - Added some relationships, migrated, verified they were preserved. - Added some new valid relationships, verified tasks got updated with sensible transactions and sent reasonable emails. - Tried to add a cycle, got an ugly but effective error. Reviewers: vrana, btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1162 Differential Revision: https://secure.phabricator.com/D3006
2012-07-19 05:41:42 +02:00
<
?
php
Remove three ancient columns from Maniphest tasks: attached, projectPHIDs, ccPHIDs Summary: Before edges, we stored some of this stuff directly on tasks. - `attached` was migrated to edges in Jan 2013. - `projectPHIDs` was never used, as far as I can tell? - `ccPHIDs` was migrated away and dropped more than a year ago. None of these columns are used in modern code (instead, modern code uses edges). Test Plan: `grep`, browsed around, `bin/storage upgrade`, unit tests. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15216
2016-02-08 21:17:16 +01:00
// From 2013-2016, this migration moved dependent tasks to edges.
Copy permalink