initInverter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace execut\import\migrations;
3
use execut\yii\migration\Migration;
4
use execut\yii\migration\Inverter;
5
6
class m190717_065149_addAttachmentNameField extends Migration
7
{
8
    public function initInverter(Inverter $i)
9
    {
10
        $i->table('import_settings')
11
            ->addColumn('email_attachment_template', $this->string());
12
    }
13
14
    /*
15
    // Use safeUp/safeDown to run migration code within a transaction
16
    public function safeUp()
17
    {
18
    }
19
20
    public function safeDown()
21
    {
22
    }
23
    */
24
}
25