Replaced quotes for Postgres

This commit is contained in:
Nicolas Lœuillet
2016-12-18 13:47:25 +01:00
parent 31fec5f363
commit bea8d75417
4 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ class Version20161122144743 extends AbstractMigration implements ContainerAwareI
$access = $this->container
->get('doctrine.orm.default_entity_manager')
->getConnection()
->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "restricted_access"');
->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'restricted_access'");
$this->skipIf(false !== $access, 'It seems that you already played this migration.');