Completed
Push — master ( 6ee53d...bb5f21 )
by ARCANEDEV
04:30
created

Migration::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
ccs 0
cts 5
cp 0
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php namespace Arcanesoft\Pages\Bases;
2
3
use Arcanedev\Support\Bases\Migration as BaseMigration;
4
5
/**
6
 * Class     Migration
7
 *
8
 * @package  Arcanesoft\Pages\Bases
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
abstract class Migration extends BaseMigration
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Constructor
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Make a migration instance.
19
     */
20
    public function __construct()
21
    {
22
        $this->setConnection(config('arcanesoft.pages.database.connection', null));
23
        $this->setPrefix(config('arcanesoft.pages.database.prefix', ''));
24
    }
25
}
26