numeric rewriting should be case insensitive
This commit is contained in:
@@ -96,7 +96,7 @@ class CreateTableSQLRewriter extends AbstractSQLRewriter
|
||||
$numeric_types_imploded = implode('|', $numeric_types);
|
||||
|
||||
// Prepare regex pattern to match 'type(x)'
|
||||
$pattern = "/(" . $numeric_types_imploded . ")\(\d+\)/";
|
||||
$pattern = "/(" . $numeric_types_imploded . ")\(\d+\)/i";
|
||||
|
||||
// Execute type find & replace
|
||||
$sql = preg_replace_callback($pattern, function ($matches) {
|
||||
|
||||
Reference in New Issue
Block a user