mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
11 lines
284 B
PHP
11 lines
284 B
PHP
|
<?php
|
||
|
|
||
|
$edge_type = PhortuneAccountHasMerchantEdgeType::EDGECONST;
|
||
|
|
||
|
$table = new PhortuneSubscription();
|
||
|
foreach (new LiskMigrationIterator($table) as $sub) {
|
||
|
id(new PhabricatorEdgeEditor())
|
||
|
->addEdge($sub->getAccountPHID(), $edge_type, $sub->getMerchantPHID())
|
||
|
->save();
|
||
|
}
|