| @@ 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; |
|
| @@ 859-867 (lines=9) @@ | ||
| 856 | $limit = null; |
|
| 857 | } |
|
| 858 | break; |
|
| 859 | case 'char': |
|
| 860 | $type = static::PHINX_TYPE_CHAR; |
|
| 861 | if ($limit === 255) { |
|
| 862 | $limit = null; |
|
| 863 | } |
|
| 864 | if ($limit === 36) { |
|
| 865 | $type = static::PHINX_TYPE_UUID; |
|
| 866 | } |
|
| 867 | break; |
|
| 868 | case 'int': |
|
| 869 | $type = static::PHINX_TYPE_INTEGER; |
|
| 870 | if ($limit === 11) { |
|