Completed
Pull Request — development (#663)
by Nick
11:41 queued 05:12
created

Version20171008183000   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A up() 0 4 1
A down() 0 3 1
1
<?php
2
3
namespace Application\Migrations;
4
5
use Doctrine\DBAL\Migrations\AbstractMigration;
6
use Doctrine\DBAL\Schema\Schema;
7
8
/**
9
 * Class Version20171008183000
10
 *
11
 * @package Application\Migrations
12
 */
13
class Version20171008183000 extends AbstractMigration
14
{
15
    /**
16
     * Sets the engine of the table user to INNODB.
17
     *
18
     * @param Schema $schema
19
     */
20
    public function up(Schema $schema)
21
    {
22
        $this->addSql('ALTER TABLE user ENGINE = INNODB;');
23
    }
24
25
    /**
26
     * @param Schema $schema
27
     */
28
    public function down(Schema $schema)
29
    {
30
    }
31
}
32