mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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();
|
||
|
}
|