From: adev Date: Sun, 5 Nov 2017 12:32:22 +0000 (+0100) Subject: Implements down migration X-Git-Tag: 2.3.0~14^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=18865cec8621d697e9b174ab4b9203517be5dfcc;p=github%2Fwallabag%2Fwallabag.git Implements down migration --- diff --git a/app/DoctrineMigrations/Version20160401000000.php b/app/DoctrineMigrations/Version20160401000000.php index 34d97d16..af135006 100644 --- a/app/DoctrineMigrations/Version20160401000000.php +++ b/app/DoctrineMigrations/Version20160401000000.php @@ -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'); } }