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

Version20171007113730   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 17
rs 10
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
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