Completed
Push — v0_9 ( a932eb...7321a8 )
by Vladimir
11:49
created

DropPortColumn   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A up() 0 5 1
1
<?php
2
3
use Phinx\Migration\AbstractMigration;
4
5
class DropPortColumn extends AbstractMigration
6
{
7
    public function up ()
8
    {
9
        $this->table('matches')
10
             ->removeColumn('port');
11
    }
12
}
13