]> git.parisson.com Git - docker-django-scripts.git/commitdiff
[Mysql] : detele MySQL local database before restoring
authorEmilie Zawadzki <emilie.zawadzki@ircam.fr>
Thu, 24 Oct 2019 09:45:26 +0000 (11:45 +0200)
committerEmilie Zawadzki <emilie.zawadzki@ircam.fr>
Thu, 24 Oct 2019 09:45:26 +0000 (11:45 +0200)
dev/restore_db_hard.sh

index 567481193563d9c0ae01abd52eb554f25de6631f..fb89df5c74617a7c4f6b050bdd6ee66fbf0af34a 100755 (executable)
@@ -2,6 +2,7 @@
 
 docker-compose stop
 sudo rm -rf var/lib/postgresql
+sudo rm -rf var/lib/mysql
 ./bin/dev/restore_db.sh
 ./bin/dev/migrate.sh
 ./bin/dev/up.sh
\ No newline at end of file