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