| @@ 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; |
|
| @@ 1073-1081 (lines=9) @@ | ||
| 1070 | $limit = null; |
|
| 1071 | } |
|
| 1072 | break; |
|
| 1073 | case 'char': |
|
| 1074 | $type = static::PHINX_TYPE_CHAR; |
|
| 1075 | if ($limit === 255) { |
|
| 1076 | $limit = null; |
|
| 1077 | } |
|
| 1078 | if ($limit === 36) { |
|
| 1079 | $type = static::PHINX_TYPE_UUID; |
|
| 1080 | } |
|
| 1081 | break; |
|
| 1082 | case 'smallint': |
|
| 1083 | $type = static::PHINX_TYPE_SMALL_INTEGER; |
|
| 1084 | if ($limit === 11) { |
|