No description or website provided.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/EasyBib/Doctrine/Types
tests
.gitignore
.travis.yml
LICENSE.txt
README.md
composer.json
composer.lock
phpunit.xml

README.md

[WIP] Support for PostgreSQL's hstore type for Doctrine

Build Status

Add the following to your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "http://github.com/easybib/EasyBib_DoctrineTypes"
        }
    ]
}

Then install/update:

./composer.phar install

Finally (assuming the above worked):

use Doctrine\DBAL\Types\Type;
Type::addType('hstore', 'EasyBib\Doctrine\Type\Hstore');

/* ... more setup here ... */
$entityManager->getConnection()->getDatabasePlatform()->registerDoctrineTypeMapping('hstore', 'hstore');