diff --git a/DependencyInjection/ChillMainExtension.php b/DependencyInjection/ChillMainExtension.php index 53b1769a4..2eb6d1215 100644 --- a/DependencyInjection/ChillMainExtension.php +++ b/DependencyInjection/ChillMainExtension.php @@ -110,6 +110,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface, $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config')); $loader->load('services.yaml'); + $loader->load('services/doctrine.yaml'); $loader->load('services/logger.yaml'); $loader->load('services/repositories.yaml'); $loader->load('services/pagination.yaml'); diff --git a/Doctrine/Migrations/VersionComparator.php b/Doctrine/Migrations/VersionComparator.php new file mode 100644 index 000000000..120d621a0 --- /dev/null +++ b/Doctrine/Migrations/VersionComparator.php @@ -0,0 +1,32 @@ +getNumber($a), $this->getNumber($b)); + + return $q; + } +} + diff --git a/config/services/doctrine.yaml b/config/services/doctrine.yaml new file mode 100644 index 000000000..09b68f03b --- /dev/null +++ b/config/services/doctrine.yaml @@ -0,0 +1,3 @@ +--- +services: + 'Chill\MainBundle\Doctrine\Migrations\VersionComparator': ~ diff --git a/migrations/Version20141128194409.php b/migrations/Version20141128194409.php index 6731826a4..2f75b9566 100644 --- a/migrations/Version20141128194409.php +++ b/migrations/Version20141128194409.php @@ -1,6 +1,6 @@