Skip to content

Commit

Permalink
Allow int fields without the number of digits definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Cima committed Jun 29, 2016
1 parent c8c37b9 commit f50c412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RegExpPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class RegExpPattern
{
private static $columnTypeRegExps = [
'(?:tiny|small|medium|big)?int\((?<intLength>\d+)\)(?:\s+unsigned)?',
'(?:tiny|small|medium|big)?int(?:\((?<intLength>\d+)\))?(?:\s+unsigned)?',
'float(?:\s+unsigned)?(?:\((?<floatLength>\d+),(?<floatPrecision>\d+)\))?',
'binary',
'real',
Expand Down

0 comments on commit f50c412

Please sign in to comment.