m190717_065149_addAttachmentNameField   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A initInverter() 0 4 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