Permalink
Browse files

Merge pull request #270 from danrot/bugfix/utf8mb4

added connection to service configuration of RepositorySchema
  • Loading branch information...
2 parents 4477935 + 6bb9bc7 commit 9898c812620831c4482518d9a6d4ce9740d55f79 @dbu dbu committed on GitHub Jan 31, 2017
Showing with 6 additions and 1 deletion.
  1. +2 −0 CHANGELOG.md
  2. +4 −1 Resources/config/jackalope.xml
View
@@ -4,6 +4,8 @@ Changelog
(unreleased)
------------
+* Added connection parameter to RepositorySchema, so that the DBAL configuration applies. This will affect
+ you if you configured connection options for DBAL, but will not affect already created tables.
* Added support for `session` parameter in repository initializers with the new `SessionAwareInitializerInterface`.
GenericInitializer now implements this new interface.
@@ -51,7 +51,10 @@
<service id="doctrine_phpcr.jackalope_doctrine_dbal.schema"
class="%doctrine_phpcr.jackalope_doctrine_dbal.repository_schema.class%"
public="false"
- />
+ >
+ <argument type="collection"/>
+ <argument type="service" id="doctrine.dbal.default_connection"/>
+ </service>
<service id="doctrine_phpcr.jackalope_doctrine_dbal.schema_listener"
class="%doctrine_phpcr.jackalope_doctrine_dbal.schema_listener.class%">

0 comments on commit 9898c81

Please sign in to comment.