Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.

Commit f21c2d7

Browse files
committed
Enhancement: Add basic configuration
1 parent 4b85bfa commit f21c2d7

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

config/autoload/global.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,25 @@
1414
'username' => 'modules',
1515
'password' => 'modules',
1616
],
17+
'doctrine' => [
18+
'connection' => [
19+
'orm_default' => [
20+
'params' => [
21+
'host' => 'localhost',
22+
'port' => '3306',
23+
'user' => 'modules',
24+
'password' => 'modules',
25+
'dbname' => 'modules',
26+
],
27+
],
28+
],
29+
'migrations_configuration' => [
30+
'orm_default' => [
31+
'directory' => 'data/migrations',
32+
'name' => 'ZFModules DBAL Migrations',
33+
'namespace' => 'ZfModulesMigrations',
34+
'table' => 'doctrine_migration_versions',
35+
],
36+
],
37+
],
1738
];

config/autoload/travis.php.local.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,17 @@ return [
77
'username' => 'root',
88
'password' => '',
99
],
10+
'doctrine' => [
11+
'connection' => [
12+
'orm_default' => [
13+
'params' => [
14+
'host' => 'localhost',
15+
'port' => '3306',
16+
'user' => 'root',
17+
'password' => '',
18+
'dbname' => 'modules_test',
19+
],
20+
],
21+
],
22+
],
1023
];

0 commit comments

Comments
 (0)