summaryrefslogtreecommitdiffstats
path: root/Aufgabe06/config/propel.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Aufgabe06/config/propel.yaml')
-rw-r--r--Aufgabe06/config/propel.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/Aufgabe06/config/propel.yaml b/Aufgabe06/config/propel.yaml
new file mode 100644
index 0000000..135f44c
--- /dev/null
+++ b/Aufgabe06/config/propel.yaml
@@ -0,0 +1,46 @@
+## Sample Propel configuration file ##
+
+propel:
+## General settings ##
+ general:
+ # The name of your project.
+ # This affects names of generated files, etc.
+ project: catalog
+ version: 1.0.0-dev
+
+ ## All Database settings ##
+ #
+ # This section replaces the old runtime-conf.xml file and it's also used by config:convert command
+ database:
+ # All database sources
+ connections:
+ default:
+ adapter: mysql
+ # Connection class. While developing you could use Propel\Runtime\Connection\DebugPDO
+ classname: Propel\Runtime\Connection\ConnectionWrapper
+ dsn: "mysql:host=localhost;dbname=catalog"
+ user: root
+ password:
+ # Driver options. See http://www.php.net/manual/en/pdo.construct.php
+ # options must be passed to the contructor of the connection object
+ options:
+ # See http://www.php.net/manual/en/pdo.getattribute.php
+ # Attributes are set via `setAttribute()` method, after the connection object is created
+ attributes:
+ #Propel specific settings
+ settings:
+ charset: utf8
+
+ ## Runtime settings ##
+ runtime:
+ defaultConnection: default
+ # Datasources as defined in database.connections
+ connections:
+ - default
+
+ ## Generator settings ##
+ generator:
+ defaultConnection: default
+ # Datasources as defined in database.connections
+ connections:
+ - default