diff --git a/Vagrantfile b/Vagrantfile index 6ff15f40d..9d2cff802 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -47,4 +47,10 @@ $ sudo /vagrant/run --develop Plinth will be available at https://localhost:4430/plinth (with an invalid SSL certificate). " + config.trigger.before :destroy do |trigger| + trigger.warn = "Dropping Plinth database" + trigger.run_remote = { + inline: "rm /vagrant/data/var/lib/plinth/plinth.sqlite3" + } + end end