Repository navigation
2.1.0
Release Propel bundle with version 2.1.0
Included commits: 2.0.0...2.1.0
Features
- Moved command code behind API (Facade)
- Add DatabaseCreator, old one violates OCP
- Add test support module
- Use only internal Config constants, previously also ApplicationContstants were used (can be changed in project config as well)
Bugfixes
Fix for missing database connection information in project (config_propel.php)
- Before:
$engine = $config[ApplicationConstants::ZED_DB_ENGINE];
$config[ApplicationConstants::PROPEL]['database']['connections']['default'] = $connections[$engine];
- After:
$engine = $config[ApplicationConstants::ZED_DB_ENGINE];
$config[ApplicationConstants::PROPEL]['database']['connections']['default'] = $connections[$engine];
$config[ApplicationConstants::PROPEL]['database']['connections']['zed'] = $connections[$engine];
PropelServiceProvider uses false as default for PropelConstants::PROPEL_DEBUG if it's not configured
Add option in propel config to define database engine (mysql or pgsql) with environment variables (useful for travis etc ZED_DB_PORT=3306 ZED_DB_ENGINE=mysql vendor/bin/codecept run --env isolated will use mysql, postgres is default)