ruvents / doctrine-fixes-bundle
RUVENTS Doctrine Fixes Bundle
Installs: 100 450
Dependents: 1
Suggesters: 0
Security: 0
Stars: 8
Watchers: 6
Forks: 3
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.5.9
- doctrine/dbal: ^2.5
- symfony/config: ^3.0 || ^4.0
- symfony/dependency-injection: ^3.0 || ^4.0
- symfony/http-kernel: ^3.0 || ^4.0
- symfony/yaml: ^3.0 || ^4.0
Requires (Dev)
This package is not auto-updated.
Last update: 2020-08-21 22:15:00 UTC
README
Installation
-
Install the package via composer:
$ composer require ruvents/doctrine-fixes-bundle:~0.1.0
-
Register the bundle:
<?php // app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new Ruvents\DoctrineFixesBundle\RuventsDoctrineFixesBundle(), ]; } }
Configuration
# app/Resources/config.yml ruvents_doctrine_fixes: # connection name default: # all fixes are disabled by default and can be enabled with null schema_namespace_fix: ~ another_connection: # ...
Fixes
Schema namespace fix (doctrine/dbal#1110)
# ... schema_namespace_fix: # namespace is null by default # $platform->getDefaultSchemaName() is used in this case namespace: 'public'