Completed
Push — feature/test-php-7-2-in-travis ( 027341...a56bae )
by
unknown
05:31
created

Version20160620090507::down()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Surfnet\StepupMiddleware\Migrations;
4
5
use Doctrine\DBAL\Migrations\AbstractMigration;
6
use Doctrine\DBAL\Schema\Schema;
7
8
class Version20160620090507 extends AbstractMigration
9
{
10
    /**
11
     * @param Schema $schema
12
     */
13
    public function up(Schema $schema)
14
    {
15
        $this->addSql('ALTER TABLE unverified_second_factor DROP verification_nonce_valid_until');
16
    }
17
18
    /**
19
     * @param Schema $schema
20
     */
21
    public function down(Schema $schema)
22
    {
23
        $this->addSql('ALTER TABLE unverified_second_factor ADD verification_nonce_valid_until DATETIME');
24
25
    }
26
}
27