From 8f6e27342c8faacdafe3c4e757ba7c6e195df2ec Mon Sep 17 00:00:00 2001 From: Paul Rogers Date: Wed, 14 Aug 2019 10:58:52 -0400 Subject: [PATCH] feat(PtOnlineSchemaChange): Drop `--no-check-alter` option from defaults given to PTOSC. --- src/Strategy/PtOnlineSchemaChange.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Strategy/PtOnlineSchemaChange.php b/src/Strategy/PtOnlineSchemaChange.php index 1b9e8a6..f5e8fa8 100644 --- a/src/Strategy/PtOnlineSchemaChange.php +++ b/src/Strategy/PtOnlineSchemaChange.php @@ -195,7 +195,6 @@ public static function getQueryOrCommand(array &$query, Connection $connection) // would happen if left to `config/online-migrator.php`. $ptosc_defaults = [ '--alter-foreign-keys-method=auto', - '--no-check-alter', // ASSUMES: Users accept risks w/RENAME. // ASSUMES: All are known to be unique. // CONSIDER: Extracting/re-creating automatic uniqueness checks // and running them here in PHP beforehand.