| @@ 861-869 (lines=9) @@ | ||
| 858 | $limit = null; |
|
| 859 | } |
|
| 860 | break; |
|
| 861 | case 'char': |
|
| 862 | $type = static::PHINX_TYPE_CHAR; |
|
| 863 | if ($limit === 255) { |
|
| 864 | $limit = null; |
|
| 865 | } |
|
| 866 | if ($limit === 36) { |
|
| 867 | $type = static::PHINX_TYPE_UUID; |
|
| 868 | } |
|
| 869 | break; |
|
| 870 | case 'tinyint': |
|
| 871 | $type = static::PHINX_TYPE_INTEGER; |
|
| 872 | $limit = static::INT_TINY; |
|
| @@ 892-900 (lines=9) @@ | ||
| 889 | $limit = null; |
|
| 890 | } |
|
| 891 | break; |
|
| 892 | case 'char': |
|
| 893 | $type = static::PHINX_TYPE_CHAR; |
|
| 894 | if ($limit === 255) { |
|
| 895 | $limit = null; |
|
| 896 | } |
|
| 897 | if ($limit === 36) { |
|
| 898 | $type = static::PHINX_TYPE_UUID; |
|
| 899 | } |
|
| 900 | break; |
|
| 901 | case 'int': |
|
| 902 | $type = static::PHINX_TYPE_INTEGER; |
|
| 903 | if ($limit === 11) { |
|