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