| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class Postgresql extends Platform |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Get Types. |
||
| 11 | * |
||
| 12 | * @return \Illuminate\Support\Collection |
||
| 13 | */ |
||
| 14 | public static function getTypes(Collection $typeMapping) |
||
| 15 | { |
||
| 16 | $typeMapping->forget([ |
||
| 17 | 'smallint', |
||
| 18 | 'serial', |
||
| 19 | 'serial4', |
||
| 20 | 'int', |
||
| 21 | 'integer', |
||
| 22 | 'bigserial', |
||
| 23 | 'serial8', |
||
| 24 | 'bigint', |
||
| 25 | 'decimal', |
||
| 26 | 'float', |
||
| 27 | 'real', |
||
| 28 | 'double', |
||
| 29 | 'double precision', |
||
| 30 | 'boolean', |
||
| 31 | '_varchar', |
||
| 32 | 'char', |
||
| 33 | 'datetime', |
||
| 34 | 'year', |
||
| 35 | ]); |
||
| 36 | |||
| 37 | return $typeMapping; |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function registerCustomTypeOptions() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |