Skip to content

Commit

Permalink
#11 - Disable query 'SET FOREIGN_KEY_CHECKS=0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Mar 22, 2020
1 parent 1064113 commit f0a0a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private static function connectionSetup(array $options): void
self::$storage = new $adapter($configArray);

if ($database->adapter === 'Mysql') {
self::$storage->query('SET FOREIGN_KEY_CHECKS=0');
//self::$storage->query('SET FOREIGN_KEY_CHECKS=0');
}

if (!self::$storage->tableExists(self::MIGRATION_LOG_TABLE)) {
Expand Down

0 comments on commit f0a0a22

Please sign in to comment.