Completed
Push — feature/team-activity ( 2f8466 )
by Vladimir
02:53
created

DropTeamActivity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A change() 0 8 1
1
<?php
2
3
use Phinx\Migration\AbstractMigration;
4
5
class DropTeamActivity extends AbstractMigration
6
{
7
    /**
8
     * {@inheritdoc}
9
     */
10
    public function change()
11
    {
12
        $table = $this->table('teams');
13
        $table
14
            ->removeColumn('activity')
15
            ->update()
16
        ;
17
    }
18
}
19