Passed
Push — v3 ( ce9cae...4358aa )
by Andrew
06:04
created

m180314_002756_base_install::safeUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 * SEOmatic plugin for Craft CMS 3.x
4
 *
5
 * A turnkey SEO implementation for Craft CMS that is comprehensive, powerful,
6
 * and flexible
7
 *
8
 * @link      https://nystudio107.com
9
 * @copyright Copyright (c) 2017 nystudio107
10
 */
11
12
namespace nystudio107\seomatic\migrations;
13
14
/**
15
 * @author    nystudio107
16
 * @package   SEOmatic
17
 * @since     3.0.0
18
 */
19
class m180314_002756_base_install extends Install
20
{
21
    // Public Methods
22
    // =========================================================================
23
24
    /**
25
     * @inheritdoc
26
     */
27
    public function safeUp()
28
    {
29
        $result = parent::safeUp();
30
        // Do other content migrations here
31
32
        return $result;
33
    }
34
35
    /**
36
     * @inheritdoc
37
     */
38
    public function safeDown()
39
    {
40
        $result = parent::safeDown();
41
        // Do other content removal here
42
43
        return $result;
44
    }
45
46
    // Protected Methods
47
    // =========================================================================
48
49
}
50