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

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