m160805_062054_addErrorStatus::initInverter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 11
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace execut\import\migrations;
3
class m160805_062054_addErrorStatus extends \execut\yii\migration\Migration
4
{
5
    public function initInverter(\execut\yii\migration\Inverter $i)
6
    {
7
        $i->table('import_files_statuses')->batchInsert([
8
            'id',
9
            'key',
10
            'name'
11
        ], [
12
            [
13
                9,
14
                'error',
15
                'Error',
16
            ]
17
        ]);
18
    }
19
}
20