| @@ 1089-1097 (lines=9) @@ | ||
| 1086 | $limit = null; |
|
| 1087 | } |
|
| 1088 | break; |
|
| 1089 | case 'char': |
|
| 1090 | $type = static::PHINX_TYPE_CHAR; |
|
| 1091 | if ($limit === 255) { |
|
| 1092 | $limit = null; |
|
| 1093 | } |
|
| 1094 | if ($limit === 36) { |
|
| 1095 | $type = static::PHINX_TYPE_UUID; |
|
| 1096 | } |
|
| 1097 | break; |
|
| 1098 | case 'int': |
|
| 1099 | $type = static::PHINX_TYPE_INTEGER; |
|
| 1100 | if ($limit === 11) { |
|
| @@ 1018-1026 (lines=9) @@ | ||
| 1015 | $limit = null; |
|
| 1016 | } |
|
| 1017 | break; |
|
| 1018 | case 'char': |
|
| 1019 | $type = static::PHINX_TYPE_CHAR; |
|
| 1020 | if ($limit === 255) { |
|
| 1021 | $limit = null; |
|
| 1022 | } |
|
| 1023 | if ($limit === 36) { |
|
| 1024 | $type = static::PHINX_TYPE_UUID; |
|
| 1025 | } |
|
| 1026 | break; |
|
| 1027 | case 'tinyint': |
|
| 1028 | $type = static::PHINX_TYPE_INTEGER; |
|
| 1029 | $limit = static::INT_TINY; |
|