]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Implements down migration
authoradev <adev2000@gmail.com>
Sun, 5 Nov 2017 12:32:22 +0000 (13:32 +0100)
committeradev <adev2000@gmail.com>
Tue, 21 Nov 2017 20:35:17 +0000 (21:35 +0100)
app/DoctrineMigrations/Version20160401000000.php

index 34d97d16a64136dd12f94bda52d35c7f4fd04405..af1350069f969c9e190cd1c8a760d113b2345dd2 100644 (file)
@@ -176,6 +176,17 @@ SQL
      */
     public function down(Schema $schema)
     {
-        //TODO: drop tables
+        $this->addSql('DROP TABLE wallabag_craue_config_setting');
+        $this->addSql('DROP TABLE "wallabag_tagging_rule"');
+        $this->addSql('DROP TABLE "wallabag_config"');
+        $this->addSql('DROP TABLE "wallabag_entry"');
+        $this->addSql('DROP TABLE wallabag_entry_tag');
+        $this->addSql('DROP TABLE "wallabag_tag"');
+        $this->addSql('DROP TABLE wallabag_oauth2_refresh_tokens');
+        $this->addSql('DROP TABLE wallabag_oauth2_access_tokens');
+        $this->addSql('DROP TABLE wallabag_oauth2_clients');
+        $this->addSql('DROP TABLE wallabag_oauth2_auth_codes');
+        $this->addSql('DROP TABLE "wallabag_user"');
+        $this->addSql('DROP TABLE wallabag_annotation');
     }
 }