| @@ 974-982 (lines=9) @@ | ||
| 971 | $limit = null; |
|
| 972 | } |
|
| 973 | break; |
|
| 974 | case 'char': |
|
| 975 | $type = static::PHINX_TYPE_CHAR; |
|
| 976 | if ($limit === 255) { |
|
| 977 | $limit = null; |
|
| 978 | } |
|
| 979 | if ($limit === 36) { |
|
| 980 | $type = static::PHINX_TYPE_UUID; |
|
| 981 | } |
|
| 982 | break; |
|
| 983 | case 'tinyint': |
|
| 984 | $type = static::PHINX_TYPE_INTEGER; |
|
| 985 | $limit = static::INT_TINY; |
|
| @@ 1070-1078 (lines=9) @@ | ||
| 1067 | $limit = null; |
|
| 1068 | } |
|
| 1069 | break; |
|
| 1070 | case 'char': |
|
| 1071 | $type = static::PHINX_TYPE_CHAR; |
|
| 1072 | if ($limit === 255) { |
|
| 1073 | $limit = null; |
|
| 1074 | } |
|
| 1075 | if ($limit === 36) { |
|
| 1076 | $type = static::PHINX_TYPE_UUID; |
|
| 1077 | } |
|
| 1078 | break; |
|
| 1079 | case 'smallint': |
|
| 1080 | $type = static::PHINX_TYPE_SMALL_INTEGER; |
|
| 1081 | if ($limit === 11) { |
|