-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoenix.php
36 lines (35 loc) · 1.38 KB
/
phoenix.php
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
29
30
31
32
33
34
35
36
<?php
return [
'migration_dirs' => [
'first' => __DIR__ . '/../project/database/migrations',
'second' => __DIR__ . '/../project/database/migrations',
],
'environments' => [
'local' => [
'adapter' => config('database.connections.mysql.driver'),
'host' => config('database.connections.mysql.host'),
'port' => config('database.connections.mysql.port'),
// optional
'username' => config('database.connections.mysql.username'),
'password' => config('database.connections.mysql.password'),
'db_name' => config('database.connections.mysql.database'),
'charset' => config('database.connections.mysql.charset'),
'collation' => config('database.connections.mysql.collation'),
// optional, if not set default collation for utf8mb4 is used
],
'production' => [
'adapter' => 'mysql',
'host' => 'production_host',
'port' => 3306,
// optional
'username' => 'user',
'password' => 'pass',
'db_name' => 'my_production_db',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
// optional, if not set default collation for utf8mb4 is used
],
],
'default_environment' => 'local',
'log_table_name' => 'phoenix_log',
];