aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20161031132655.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-26 15:40:42 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-28 14:28:35 +0100
commit84c6a48df412af7a15a63de5484c4bbcf27de33e (patch)
tree2e428e005fc92b8fde621c1ae224ab1222bae00b /app/DoctrineMigrations/Version20161031132655.php
parenta4d55a9161144f7e0daafff8da13dabc9e090ae2 (diff)
downloadwallabag-84c6a48df412af7a15a63de5484c4bbcf27de33e.tar.gz
wallabag-84c6a48df412af7a15a63de5484c4bbcf27de33e.tar.zst
wallabag-84c6a48df412af7a15a63de5484c4bbcf27de33e.zip
Added dropColumn for SQLite and some enhancements
Diffstat (limited to 'app/DoctrineMigrations/Version20161031132655.php')
-rw-r--r--app/DoctrineMigrations/Version20161031132655.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php
index 80163c0b..39b85ea9 100644
--- a/app/DoctrineMigrations/Version20161031132655.php
+++ b/app/DoctrineMigrations/Version20161031132655.php
@@ -37,8 +37,6 @@ class Version20161031132655 extends AbstractMigration implements ContainerAwareI
37 */ 37 */
38 public function down(Schema $schema) 38 public function down(Schema $schema)
39 { 39 {
40 $this->skipIf($this->connection->getDatabasePlatform()->getName() == 'sqlite', 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
41
42 $this->addSql('DELETE FROM "'.$this->getTable('craue_config_setting')."\" WHERE name = 'download_images_enabled';"); 40 $this->addSql('DELETE FROM "'.$this->getTable('craue_config_setting')."\" WHERE name = 'download_images_enabled';");
43 } 41 }
44} 42}