Completed
Push — master ( 87f5f3...5d6f7d )
by Nate
03:14
created

m181019_220655_provider_instances::safeUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/patron/license
6
 * @link       https://www.flipboxfactory.com/software/patron/
7
 */
8
9
namespace flipbox\patron\migrations;
10
11
use craft\db\Migration;
12
13
/**
14
 * Class m181019_220655_provider_instances
15
 * @package flipbox\patron\migrations
16
 *
17
 * @deprecated
18
 */
19
class m181019_220655_provider_instances extends Migration
20
{
21
    /**
22
     * @inheritdoc
23
     */
24
    public function safeUp()
25
    {
26
        return true;
27
    }
28
29
30
    /**
31
     * @inheritdoc
32
     */
33
    public function safeDown()
34
    {
35
        $this->dropTableIfExists(ProviderInstance::tableName());
36
        return true;
37
    }
38
}
39