Propel configuration

This commit is contained in:
Simon Vieille 2015-02-17 01:54:12 +01:00
parent 931266c47b
commit 3248dc1156

View file

@ -1,12 +1,12 @@
propel: propel:
database: database:
connections: connections:
pdns: default:
adapter: mysql adapter: mysql
classname: Propel\Runtime\Connection\ConnectionWrapper classname: Propel\Runtime\Connection\ConnectionWrapper
dsn: "mysql:host=localhost;dbname=pdns" dsn: "mysql:host=localhost;dbname=pdns"
user: pdns_user user: root
password: pdns_password password: root
attributes: attributes:
settings: settings:
charset: utf8 charset: utf8
@ -18,23 +18,13 @@ propel:
schemaDir: src/ schemaDir: src/
outputDir: src/ outputDir: src/
phpDir: src/ phpDir: src/
phpConfDir: app/propel/configuration
sqlDir: app/propel/sql sqlDir: app/propel/sql
migrationDir: app/propel/migration migrationDir: app/propel/migration
migrations:
reverse:
connection: pdns
runtime: runtime:
defaultConnection: pdns defaultConnection: default
connections: connections: [default]
- pdns
generator: generator:
defaultConnection: pdns defaultConnection: default
targetPackage: srcprojectDir connections: [default]
connections:
- pdns