| @@ 880-888 (lines=9) @@ | ||
| 877 | $limit = null; |
|
| 878 | } |
|
| 879 | break; |
|
| 880 | case 'char': |
|
| 881 | $type = static::PHINX_TYPE_CHAR; |
|
| 882 | if ($limit === 255) { |
|
| 883 | $limit = null; |
|
| 884 | } |
|
| 885 | if ($limit === 36) { |
|
| 886 | $type = static::PHINX_TYPE_UUID; |
|
| 887 | } |
|
| 888 | break; |
|
| 889 | case 'int': |
|
| 890 | $type = static::PHINX_TYPE_INTEGER; |
|
| 891 | if ($limit === 11) { |
|
| @@ 864-872 (lines=9) @@ | ||
| 861 | $limit = null; |
|
| 862 | } |
|
| 863 | break; |
|
| 864 | case 'char': |
|
| 865 | $type = static::PHINX_TYPE_CHAR; |
|
| 866 | if ($limit === 255) { |
|
| 867 | $limit = null; |
|
| 868 | } |
|
| 869 | if ($limit === 36) { |
|
| 870 | $type = static::PHINX_TYPE_UUID; |
|
| 871 | } |
|
| 872 | break; |
|
| 873 | case 'tinyint': |
|
| 874 | $type = static::PHINX_TYPE_INTEGER; |
|
| 875 | $limit = static::INT_TINY; |
|