We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f1169 commit f9d2a14Copy full SHA for f9d2a14
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -3069,7 +3069,7 @@ public function startSetup()
3069
$this->rawQuery("SET SQL_MODE=''");
3070
$this->rawQuery("SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0");
3071
$this->rawQuery("SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO'");
3072
-
+ $this->rawQuery("SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=0");
3073
return $this;
3074
}
3075
0 commit comments