| @@ 886-894 (lines=9) @@ | ||
| 883 | $limit = null; |
|
| 884 | } |
|
| 885 | break; |
|
| 886 | case 'char': |
|
| 887 | $type = static::PHINX_TYPE_CHAR; |
|
| 888 | if ($limit === 255) { |
|
| 889 | $limit = null; |
|
| 890 | } |
|
| 891 | if ($limit === 36) { |
|
| 892 | $type = static::PHINX_TYPE_UUID; |
|
| 893 | } |
|
| 894 | break; |
|
| 895 | case 'int': |
|
| 896 | $type = static::PHINX_TYPE_INTEGER; |
|
| 897 | if ($limit === 11) { |
|
| @@ 823-831 (lines=9) @@ | ||
| 820 | $limit = null; |
|
| 821 | } |
|
| 822 | break; |
|
| 823 | case 'char': |
|
| 824 | $type = static::PHINX_TYPE_CHAR; |
|
| 825 | if ( $limit === 255 ) { |
|
| 826 | $limit = null; |
|
| 827 | } |
|
| 828 | if ( $limit === 36 ) { |
|
| 829 | $type = static::PHINX_TYPE_UUID; |
|
| 830 | } |
|
| 831 | break; |
|
| 832 | case 'tinyint': |
|
| 833 | $type = static::PHINX_TYPE_INTEGER; |
|
| 834 | $limit = static::INT_TINY; |
|