| @@ 851-859 (lines=9) @@ | ||
| 848 | $limit = null; |
|
| 849 | } |
|
| 850 | break; |
|
| 851 | case 'char': |
|
| 852 | $type = static::PHINX_TYPE_CHAR; |
|
| 853 | if ($limit === 255) { |
|
| 854 | $limit = null; |
|
| 855 | } |
|
| 856 | if ($limit === 36) { |
|
| 857 | $type = static::PHINX_TYPE_UUID; |
|
| 858 | } |
|
| 859 | break; |
|
| 860 | case 'tinyint': |
|
| 861 | $type = static::PHINX_TYPE_INTEGER; |
|
| 862 | $limit = static::INT_TINY; |
|
| @@ 906-914 (lines=9) @@ | ||
| 903 | $limit = null; |
|
| 904 | } |
|
| 905 | break; |
|
| 906 | case 'char': |
|
| 907 | $type = static::PHINX_TYPE_CHAR; |
|
| 908 | if ($limit === 255) { |
|
| 909 | $limit = null; |
|
| 910 | } |
|
| 911 | if ($limit === 36) { |
|
| 912 | $type = static::PHINX_TYPE_UUID; |
|
| 913 | } |
|
| 914 | break; |
|
| 915 | case 'int': |
|
| 916 | $type = static::PHINX_TYPE_INTEGER; |
|
| 917 | if ($limit === 11) { |
|