| @@ 842-850 (lines=9) @@ | ||
| 839 | $limit = null; |
|
| 840 | } |
|
| 841 | break; |
|
| 842 | case 'char': |
|
| 843 | $type = static::PHINX_TYPE_CHAR; |
|
| 844 | if ($limit === 255) { |
|
| 845 | $limit = null; |
|
| 846 | } |
|
| 847 | if ($limit === 36) { |
|
| 848 | $type = static::PHINX_TYPE_UUID; |
|
| 849 | } |
|
| 850 | break; |
|
| 851 | case 'tinyint': |
|
| 852 | $type = static::PHINX_TYPE_INTEGER; |
|
| 853 | $limit = static::INT_TINY; |
|
| @@ 874-882 (lines=9) @@ | ||
| 871 | $limit = null; |
|
| 872 | } |
|
| 873 | break; |
|
| 874 | case 'char': |
|
| 875 | $type = static::PHINX_TYPE_CHAR; |
|
| 876 | if ($limit === 255) { |
|
| 877 | $limit = null; |
|
| 878 | } |
|
| 879 | if ($limit === 36) { |
|
| 880 | $type = static::PHINX_TYPE_UUID; |
|
| 881 | } |
|
| 882 | break; |
|
| 883 | case 'int': |
|
| 884 | $type = static::PHINX_TYPE_INTEGER; |
|
| 885 | if ($limit === 11) { |
|