Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
7 | public function change() |
||
8 | { |
||
9 | $round_times = $this->table('round_times', ['id' => 'round_time_id']); |
||
10 | |||
11 | $round_times->addColumn('draft_id', 'integer', ['limit' => 11]) |
||
12 | ->addColumn('is_static_time', 'boolean', ['limit' => 1, 'null' => true, 'default' => null]) |
||
13 | ->addColumn('draft_round', 'integer', ['limit' => 2, 'null' => true, 'default' => null]) |
||
14 | ->addColumn('round_time_seconds', 'integer', ['limit' => 11, 'null' => true, 'default' => null]) |
||
15 | ->addIndex('draft_id', ['name' => 'draft_idx']) |
||
16 | ->addIndex('draft_round', ['name' => 'round_idx']) |
||
17 | ->create(); |
||
18 | } |
||
19 | } |
||
20 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.