| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function types(): array |
||
| 13 | { |
||
| 14 | return [ |
||
| 15 | ['integer NULL DEFAULT NULL', Schema::TYPE_INTEGER, null, [['unsigned'], ['null']]], |
||
| 16 | ['integer(10)', Schema::TYPE_INTEGER, 10, [['unsigned']]], |
||
| 17 | ['integer(10)', Schema::TYPE_INTEGER, 10, [['comment', 'test']]], |
||
| 18 | ['timestamp() WITH TIME ZONE NOT NULL', 'timestamp() WITH TIME ZONE', null, [['notNull']]], |
||
| 19 | [ |
||
| 20 | 'timestamp() WITH TIME ZONE DEFAULT NOW()', |
||
| 21 | 'timestamp() WITH TIME ZONE', |
||
| 22 | null, |
||
| 23 | [['defaultValue', new Expression('NOW()')]], |
||
| 24 | ], |
||
| 28 |