5 '1' => 'needs-revision',
9 '5' => 'changes-planned',
12 $table = new DifferentialTransaction();
13 $conn = $table->establishConnection('w');
15 foreach (new LiskMigrationIterator($table) as $xaction) {
16 $type = $xaction->getTransactionType();
18 if (($type != 'differential:status') &&
19 ($type != 'differential.revision.status')) {
23 $old = $xaction->getOldValue();
24 $new = $xaction->getNewValue();
26 $old = idx($map, $old, $old);
27 $new = idx($map, $new, $new);
31 'UPDATE %T SET transactionType = %s, oldValue = %s, newValue = %s
33 $table->getTableName(),
34 'differential.revision.status',