@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 25 lines 674 B view raw
1<?php 2 3$conn_w = id(new ManiphestTask())->establishConnection('w'); 4$table_name = id(new ManiphestCustomFieldStorage())->getTableName(); 5 6$rows = new LiskRawMigrationIterator($conn_w, 'maniphest_taskauxiliarystorage'); 7 8echo pht('Migrating custom storage for Maniphest fields...')."\n"; 9foreach ($rows as $row) { 10 $phid = $row['taskPHID']; 11 $name = $row['name']; 12 13 echo pht('Migrating %s / %s...', $phid, $name)."\n"; 14 15 queryfx( 16 $conn_w, 17 'INSERT IGNORE INTO %T (objectPHID, fieldIndex, fieldValue) 18 VALUES (%s, %s, %s)', 19 $table_name, 20 $phid, 21 PhabricatorHash::digestForIndex('std:maniphest:'.$name), 22 $row['value']); 23} 24 25echo pht('Done.')."\n";