| @@ 856-864 (lines=9) @@ | ||
| 853 | $limit = null; |
|
| 854 | } |
|
| 855 | break; |
|
| 856 | case 'char': |
|
| 857 | $type = static::PHINX_TYPE_CHAR; |
|
| 858 | if ($limit === 255) { |
|
| 859 | $limit = null; |
|
| 860 | } |
|
| 861 | if ($limit === 36) { |
|
| 862 | $type = static::PHINX_TYPE_UUID; |
|
| 863 | } |
|
| 864 | break; |
|
| 865 | case 'tinyint': |
|
| 866 | $type = static::PHINX_TYPE_INTEGER; |
|
| 867 | $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) { |
|