aboutsummaryrefslogtreecommitdiffstats
path: root/phinx.php
blob: da766f487acbe9d80de3ca9292777c52988588b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

$x = app()->connect();

return [
    "paths" => [
        "migrations" => "db/migrations",
        "seeds" => "db/seeds"
    ],
    "environments" =>
        [
            "default_migration_table" => "migrations",
            'default_database' => 'development',
            'development' =>
                [
                    "adapter" =>    $x->driver(),
                    "host" =>       $x->host(),
                    "name" =>       $x->base(),
                    "user" =>       $x->user(),
                    "pass" =>       $x->password(),
                    "port" =>      db('port'),
                ]
        ]
];