| @@ 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; |
|
| @@ 1110-1118 (lines=9) @@ | ||
| 1107 | $limit = null; |
|
| 1108 | } |
|
| 1109 | break; |
|
| 1110 | case 'char': |
|
| 1111 | $type = static::PHINX_TYPE_CHAR; |
|
| 1112 | if ($limit === 255) { |
|
| 1113 | $limit = null; |
|
| 1114 | } |
|
| 1115 | if ($limit === 36) { |
|
| 1116 | $type = static::PHINX_TYPE_UUID; |
|
| 1117 | } |
|
| 1118 | break; |
|
| 1119 | case 'smallint': |
|
| 1120 | $type = static::PHINX_TYPE_SMALL_INTEGER; |
|
| 1121 | if ($limit === 11) { |
|