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

Commit

Permalink
Enhancement: Add basic configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 26, 2015
1 parent 4b85bfa commit f21c2d7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config/autoload/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,25 @@
'username' => 'modules',
'password' => 'modules',
],
'doctrine' => [
'connection' => [
'orm_default' => [
'params' => [
'host' => 'localhost',
'port' => '3306',
'user' => 'modules',
'password' => 'modules',
'dbname' => 'modules',
],
],
],
'migrations_configuration' => [
'orm_default' => [
'directory' => 'data/migrations',
'name' => 'ZFModules DBAL Migrations',
'namespace' => 'ZfModulesMigrations',
'table' => 'doctrine_migration_versions',
],
],
],
];
13 changes: 13 additions & 0 deletions config/autoload/travis.php.local.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,17 @@ return [
'username' => 'root',
'password' => '',
],
'doctrine' => [
'connection' => [
'orm_default' => [
'params' => [
'host' => 'localhost',
'port' => '3306',
'user' => 'root',
'password' => '',
'dbname' => 'modules_test',
],
],
],
],
];

0 comments on commit f21c2d7

Please sign in to comment.