| @@ 1067-1075 (lines=9) @@ | ||
| 1064 | $limit = null; |
|
| 1065 | } |
|
| 1066 | break; |
|
| 1067 | case 'char': |
|
| 1068 | $type = static::PHINX_TYPE_CHAR; |
|
| 1069 | if ($limit === 255) { |
|
| 1070 | $limit = null; |
|
| 1071 | } |
|
| 1072 | if ($limit === 36) { |
|
| 1073 | $type = static::PHINX_TYPE_UUID; |
|
| 1074 | } |
|
| 1075 | break; |
|
| 1076 | case 'int': |
|
| 1077 | $type = static::PHINX_TYPE_INTEGER; |
|
| 1078 | if ($limit === 11) { |
|
| @@ 971-979 (lines=9) @@ | ||
| 968 | $limit = null; |
|
| 969 | } |
|
| 970 | break; |
|
| 971 | case 'char': |
|
| 972 | $type = static::PHINX_TYPE_CHAR; |
|
| 973 | if ($limit === 255) { |
|
| 974 | $limit = null; |
|
| 975 | } |
|
| 976 | if ($limit === 36) { |
|
| 977 | $type = static::PHINX_TYPE_UUID; |
|
| 978 | } |
|
| 979 | break; |
|
| 980 | case 'tinyint': |
|
| 981 | $type = static::PHINX_TYPE_INTEGER; |
|
| 982 | $limit = static::INT_TINY; |
|