| @@ 870-878 (lines=9) @@ | ||
| 867 | $limit = null; |
|
| 868 | } |
|
| 869 | break; |
|
| 870 | case 'char': |
|
| 871 | $type = static::PHINX_TYPE_CHAR; |
|
| 872 | if ($limit === 255) { |
|
| 873 | $limit = null; |
|
| 874 | } |
|
| 875 | if ($limit === 36) { |
|
| 876 | $type = static::PHINX_TYPE_UUID; |
|
| 877 | } |
|
| 878 | break; |
|
| 879 | case 'int': |
|
| 880 | $type = static::PHINX_TYPE_INTEGER; |
|
| 881 | if ($limit === 11) { |
|
| @@ 880-888 (lines=9) @@ | ||
| 877 | $limit = null; |
|
| 878 | } |
|
| 879 | break; |
|
| 880 | case 'char': |
|
| 881 | $type = static::PHINX_TYPE_CHAR; |
|
| 882 | if ($limit === 255) { |
|
| 883 | $limit = null; |
|
| 884 | } |
|
| 885 | if ($limit === 36) { |
|
| 886 | $type = static::PHINX_TYPE_UUID; |
|
| 887 | } |
|
| 888 | break; |
|
| 889 | case 'tinyint': |
|
| 890 | $type = static::PHINX_TYPE_INTEGER; |
|
| 891 | $limit = static::INT_TINY; |
|