| @@ 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; |
|
| @@ 881-889 (lines=9) @@ | ||
| 878 | $limit = null; |
|
| 879 | } |
|
| 880 | break; |
|
| 881 | case 'char': |
|
| 882 | $type = static::PHINX_TYPE_CHAR; |
|
| 883 | if ($limit === 255) { |
|
| 884 | $limit = null; |
|
| 885 | } |
|
| 886 | if ($limit === 36) { |
|
| 887 | $type = static::PHINX_TYPE_UUID; |
|
| 888 | } |
|
| 889 | break; |
|
| 890 | case 'int': |
|
| 891 | $type = static::PHINX_TYPE_INTEGER; |
|
| 892 | if ($limit === 11) { |
|