forked from movim/movim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphinx.php
More file actions
25 lines (22 loc) · 729 Bytes
/
phinx.php
File metadata and controls
25 lines (22 loc) · 729 Bytes
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
<?php
require 'vendor/autoload.php';
$bootstrap = new Movim\Bootstrap;
$bootstrap->boot(true);
return [
'paths' => [
'migrations' => DOCUMENT_ROOT . '/database/migrations',
'seeds' => DOCUMENT_ROOT . '/database/seeds'
],
'environments' => [
'default_migration_table' => 'phinxlog',
'default_environment' => 'movim',
'movim' => [
'adapter' => config('database.driver'),
'host' => config('database.host'),
'name' => config('database.database'),
'user' => config('database.username'),
'pass' => config('database.password'),
'port' => config('database.port'),
]
]
];