diff options
Diffstat (limited to 'app/DoctrineMigrations/Version20160911214952.php')
-rw-r--r-- | app/DoctrineMigrations/Version20160911214952.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20160911214952.php b/app/DoctrineMigrations/Version20160911214952.php index 7b85dc5e..6ddeb767 100644 --- a/app/DoctrineMigrations/Version20160911214952.php +++ b/app/DoctrineMigrations/Version20160911214952.php | |||
@@ -32,7 +32,7 @@ class Version20160911214952 extends AbstractMigration implements ContainerAwareI | |||
32 | $redis = $this->container | 32 | $redis = $this->container |
33 | ->get('doctrine.orm.default_entity_manager') | 33 | ->get('doctrine.orm.default_entity_manager') |
34 | ->getConnection() | 34 | ->getConnection() |
35 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "import_with_redis"'); | 35 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'import_with_redis'"); |
36 | 36 | ||
37 | if (false === $redis) { | 37 | if (false === $redis) { |
38 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('import_with_redis', 0, 'import')"); | 38 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('import_with_redis', 0, 'import')"); |
@@ -41,7 +41,7 @@ class Version20160911214952 extends AbstractMigration implements ContainerAwareI | |||
41 | $rabbitmq = $this->container | 41 | $rabbitmq = $this->container |
42 | ->get('doctrine.orm.default_entity_manager') | 42 | ->get('doctrine.orm.default_entity_manager') |
43 | ->getConnection() | 43 | ->getConnection() |
44 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "import_with_rabbitmq"'); | 44 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'import_with_rabbitmq'"); |
45 | 45 | ||
46 | if (false === $rabbitmq) { | 46 | if (false === $rabbitmq) { |
47 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('import_with_rabbitmq', 0, 'import')"); | 47 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('import_with_rabbitmq', 0, 'import')"); |