| @@ 878-886 (lines=9) @@ | ||
| 875 | $limit = null; |
|
| 876 | } |
|
| 877 | break; |
|
| 878 | case 'char': |
|
| 879 | $type = static::PHINX_TYPE_CHAR; |
|
| 880 | if ($limit === 255) { |
|
| 881 | $limit = null; |
|
| 882 | } |
|
| 883 | if ($limit === 36) { |
|
| 884 | $type = static::PHINX_TYPE_UUID; |
|
| 885 | } |
|
| 886 | break; |
|
| 887 | case 'int': |
|
| 888 | $type = static::PHINX_TYPE_INTEGER; |
|
| 889 | if ($limit === 11) { |
|
| @@ 845-853 (lines=9) @@ | ||
| 842 | $limit = null; |
|
| 843 | } |
|
| 844 | break; |
|
| 845 | case 'char': |
|
| 846 | $type = static::PHINX_TYPE_CHAR; |
|
| 847 | if ($limit === 255) { |
|
| 848 | $limit = null; |
|
| 849 | } |
|
| 850 | if ($limit === 36) { |
|
| 851 | $type = static::PHINX_TYPE_UUID; |
|
| 852 | } |
|
| 853 | break; |
|
| 854 | case 'tinyint': |
|
| 855 | $type = static::PHINX_TYPE_INTEGER; |
|
| 856 | $limit = static::INT_TINY; |
|