aboutsummaryrefslogtreecommitdiffstats
path: root/phinx.php
blob: 6affcf7a170c1fdbb780e5c1c1bacfb120773337 (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
25
26
27
28
<?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'),
            ]
        ]
];