diff options
4 files changed, 6 insertions, 6 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')"); |
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php index 89b66018..770ad2d8 100644 --- a/app/DoctrineMigrations/Version20161031132655.php +++ b/app/DoctrineMigrations/Version20161031132655.php | |||
@@ -32,7 +32,7 @@ class Version20161031132655 extends AbstractMigration implements ContainerAwareI | |||
32 | $images = $this->container | 32 | $images = $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 = "download_images_enabled"'); | 35 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'download_images_enabled'"); |
36 | 36 | ||
37 | $this->skipIf(false !== $images, 'It seems that you already played this migration.'); | 37 | $this->skipIf(false !== $images, 'It seems that you already played this migration.'); |
38 | 38 | ||
diff --git a/app/DoctrineMigrations/Version20161117071626.php b/app/DoctrineMigrations/Version20161117071626.php index e65598a9..d864888f 100644 --- a/app/DoctrineMigrations/Version20161117071626.php +++ b/app/DoctrineMigrations/Version20161117071626.php | |||
@@ -32,7 +32,7 @@ class Version20161117071626 extends AbstractMigration implements ContainerAwareI | |||
32 | $share = $this->container | 32 | $share = $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 = "share_unmark"'); | 35 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'share_unmark'"); |
36 | 36 | ||
37 | if (false === $share) { | 37 | if (false === $share) { |
38 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('share_unmark', 0, 'entry')"); | 38 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('share_unmark', 0, 'entry')"); |
@@ -41,7 +41,7 @@ class Version20161117071626 extends AbstractMigration implements ContainerAwareI | |||
41 | $unmark = $this->container | 41 | $unmark = $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 = "unmark_url"'); | 44 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'unmark_url'"); |
45 | 45 | ||
46 | if (false === $unmark) { | 46 | if (false === $unmark) { |
47 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('unmark_url', 'https://unmark.it', 'entry')"); | 47 | $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('unmark_url', 'https://unmark.it', 'entry')"); |
diff --git a/app/DoctrineMigrations/Version20161122144743.php b/app/DoctrineMigrations/Version20161122144743.php index 02113031..388a0e4b 100644 --- a/app/DoctrineMigrations/Version20161122144743.php +++ b/app/DoctrineMigrations/Version20161122144743.php | |||
@@ -35,7 +35,7 @@ class Version20161122144743 extends AbstractMigration implements ContainerAwareI | |||
35 | $access = $this->container | 35 | $access = $this->container |
36 | ->get('doctrine.orm.default_entity_manager') | 36 | ->get('doctrine.orm.default_entity_manager') |
37 | ->getConnection() | 37 | ->getConnection() |
38 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "restricted_access"'); | 38 | ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'restricted_access'"); |
39 | 39 | ||
40 | $this->skipIf(false !== $access, 'It seems that you already played this migration.'); | 40 | $this->skipIf(false !== $access, 'It seems that you already played this migration.'); |
41 | 41 | ||