mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +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();
|
||
|
}
|