| @@ 977-985 (lines=9) @@ | ||
| 974 | $limit = null; |
|
| 975 | } |
|
| 976 | break; |
|
| 977 | case 'char': |
|
| 978 | $type = static::PHINX_TYPE_CHAR; |
|
| 979 | if ($limit === 255) { |
|
| 980 | $limit = null; |
|
| 981 | } |
|
| 982 | if ($limit === 36) { |
|
| 983 | $type = static::PHINX_TYPE_UUID; |
|
| 984 | } |
|
| 985 | break; |
|
| 986 | case 'tinyint': |
|
| 987 | $type = static::PHINX_TYPE_INTEGER; |
|
| 988 | $limit = static::INT_TINY; |
|
| @@ 1161-1169 (lines=9) @@ | ||
| 1158 | $limit = null; |
|
| 1159 | } |
|
| 1160 | break; |
|
| 1161 | case 'char': |
|
| 1162 | $type = static::PHINX_TYPE_CHAR; |
|
| 1163 | if ($limit === 255) { |
|
| 1164 | $limit = null; |
|
| 1165 | } |
|
| 1166 | if ($limit === 36) { |
|
| 1167 | $type = static::PHINX_TYPE_UUID; |
|
| 1168 | } |
|
| 1169 | break; |
|
| 1170 | case 'smallint': |
|
| 1171 | $type = static::PHINX_TYPE_SMALL_INTEGER; |
|
| 1172 | if ($limit === 11) { |
|