mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +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();
|
||
|
}
|