@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 22 lines 645 B view raw
1<?php 2 3$conn_w = id(new DifferentialRevision())->establishConnection('w'); 4$rows = new LiskRawMigrationIterator($conn_w, 'differential_auxiliaryfield'); 5 6echo pht('Modernizing Differential auxiliary field storage...')."\n"; 7 8$table_name = id(new DifferentialCustomFieldStorage())->getTableName(); 9foreach ($rows as $row) { 10 $id = $row['id']; 11 echo pht('Migrating row %d...', $id)."\n"; 12 queryfx( 13 $conn_w, 14 'INSERT IGNORE INTO %T (objectPHID, fieldIndex, fieldValue) 15 VALUES (%s, %s, %s)', 16 $table_name, 17 $row['revisionPHID'], 18 PhabricatorHash::digestForIndex($row['name']), 19 $row['value']); 20} 21 22echo pht('Done.')."\n";