Test1BundleMigration10::up()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace RDV\Bundle\MigrationBundle\Tests\Unit\Fixture\TestPackage\Test1Bundle\Migrations\Schema\v1_0;
4
5
use Doctrine\DBAL\Schema\Schema;
6
use RDV\Bundle\MigrationBundle\Migration\Migration;
7
use RDV\Bundle\MigrationBundle\Migration\QueryBag;
8
9
class Test1BundleMigration10 implements Migration
10
{
11
    /**
12
     * @inheritdoc
13
     */
14
    public function up(Schema $schema, QueryBag $queries)
15
    {
16
        $queries->addQuery('CREATE TABLE TEST (id INT AUTO_INCREMENT NOT NULL)');
17
    }
18
}
19