Test Setup Failed
Push — master ( 26e42b...c0b3e2 )
by Tobias
12:19
created

m151015_161954_session_tables   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A up() 0 12 1
1
<?php
2
3
class m151015_161954_session_tables extends \yii\db\Migration
4
{
5
    public function up()
6
    {
7
        $this->execute(<<<'SQL'
8
CREATE TABLE {{%session}}
9
(
10
    id CHAR(40) NOT NULL PRIMARY KEY,
11
    expire INTEGER,
12
    data BLOB
13
)
14
SQL
15
        );
16
    }
17
}
18