| @@ 978-986 (lines=9) @@ | ||
| 975 | $limit = null; |
|
| 976 | } |
|
| 977 | break; |
|
| 978 | case 'char': |
|
| 979 | $type = static::PHINX_TYPE_CHAR; |
|
| 980 | if ($limit === 255) { |
|
| 981 | $limit = null; |
|
| 982 | } |
|
| 983 | if ($limit === 36) { |
|
| 984 | $type = static::PHINX_TYPE_UUID; |
|
| 985 | } |
|
| 986 | break; |
|
| 987 | case 'tinyint': |
|
| 988 | $type = static::PHINX_TYPE_INTEGER; |
|
| 989 | $limit = static::INT_TINY; |
|
| @@ 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) { |
|