From 3248dc1156eb141dd09cba9fb9341e5d0b0bde2f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 17 Feb 2015 01:54:12 +0100 Subject: [PATCH] Propel configuration --- propel.yaml-dist | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/propel.yaml-dist b/propel.yaml-dist index 8c03f7d..924cebc 100644 --- a/propel.yaml-dist +++ b/propel.yaml-dist @@ -1,12 +1,12 @@ propel: database: connections: - pdns: + default: adapter: mysql classname: Propel\Runtime\Connection\ConnectionWrapper dsn: "mysql:host=localhost;dbname=pdns" - user: pdns_user - password: pdns_password + user: root + password: root attributes: settings: charset: utf8 @@ -18,23 +18,13 @@ propel: schemaDir: src/ outputDir: src/ phpDir: src/ - phpConfDir: app/propel/configuration sqlDir: app/propel/sql migrationDir: app/propel/migration - migrations: - - reverse: - connection: pdns - runtime: - defaultConnection: pdns - connections: - - pdns + defaultConnection: default + connections: [default] generator: - defaultConnection: pdns - targetPackage: srcprojectDir - - connections: - - pdns + defaultConnection: default + connections: [default]