Skip to content

Commit 8f21503

Browse files
author
Stanislav Idolov
committed
MAGETWO-56743: Unable to upgrade with split databases
-- CR fixes
1 parent bdf266d commit 8f21503

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

app/code/Magento/Paypal/Setup/InstallSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
142142
'agreement_id',
143143
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
144144
)->addForeignKey(
145-
// TODO: refactor without FK.
146145
$installer->getFkName('paypal_billing_agreement_order', 'order_id', 'sales_order', 'entity_id'),
147146
'order_id',
148147
$installer->getTable('sales_order'),

app/code/Magento/Vault/Setup/InstallSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
145145
['unsigned' => true, 'nullable' => false, 'primary' => true],
146146
'Payment token Id'
147147
)->addForeignKey(
148-
// TODO: refactor without FK.
149148
$setup->getFkName(
150149
$setup->getTable(self::ORDER_PAYMENT_TO_PAYMENT_TOKEN_TABLE),
151150
'order_payment_id',

lib/internal/Magento/Framework/Module/Setup.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public function getConnection($connectionName = null)
7474
}
7575

7676
/**
77+
* Returns default setup connection instance
78+
*
7779
* @return \Magento\Framework\DB\Adapter\AdapterInterface
7880
*/
7981
private function getDefaultConnection()

0 commit comments

Comments
 (0)