Completed
Pull Request — development (#649)
by Thomas
24:30 queued 18:16
created

Version20171007113730::up()   A

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
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Application\Migrations;
4
5
use Doctrine\DBAL\Migrations\AbstractMigration;
6
use Doctrine\DBAL\Schema\Schema;
7
8
class Version20171007113730 extends AbstractMigration
9
{
10
    /**
11
     * @param Schema $schema
12
     */
13
    public function up(Schema $schema)
14
    {
15
        $this->addSql('DROP TABLE IF EXISTS `news`;');
16
    }
17
18
    /**
19
     * @param Schema $schema
20
     */
21
    public function down(Schema $schema)
22
    {
23
    }
24
}
25