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

m181019_220655_provider_instances   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 20
ccs 0
cts 13
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A safeUp() 0 4 1
A safeDown() 0 5 1
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