3 $table = new PhabricatorProjectColumn();
4 $conn_w = $table->establishConnection('w');
6 foreach (new LiskMigrationIterator($table) as $column) {
7 $id = $column->getID();
9 echo pht('Adjusting column %d...', $id)."\n";
10 if ($column->getSequence() == 0) {
12 $properties = $column->getProperties();
13 $properties['isDefault'] = true;
17 'UPDATE %T SET properties = %s WHERE id = %d',
18 $table->getTableName(),
19 json_encode($properties),
24 echo pht('Done.')."\n";