diff --git a/src/RegExpPattern.php b/src/RegExpPattern.php index d635f7a..89dac48 100644 --- a/src/RegExpPattern.php +++ b/src/RegExpPattern.php @@ -6,7 +6,7 @@ class RegExpPattern { private static $columnTypeRegExps = [ - '(?:tiny|small|medium|big)?int\((?\d+)\)(?:\s+unsigned)?', + '(?:tiny|small|medium|big)?int(?:\((?\d+)\))?(?:\s+unsigned)?', 'float(?:\s+unsigned)?(?:\((?\d+),(?\d+)\))?', 'binary', 'real',