Commit 84bc6a3d2f0cf0360df463f4cc1d850ea81225d4

Authored by Theoziran Lima
1 parent a6813fec
Exists in master and in 1 other branch issue488

Drop de banco de dados caso apenas se existir

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
Vagrantfile
... ... @@ -19,8 +19,8 @@ service apache2 start
19 19  
20 20 service mysql start
21 21  
22   -mysql --user=root --password=root -h 127.0.0.1 -e 'drop database participacao'
23   -mysql --user=root --password=root -h 127.0.0.1 -e 'create database participacao'
  22 +mysql --user=root --password=root -h 127.0.0.1 -e 'DROP DATABASE IF EXISTS participacao'
  23 +mysql --user=root --password=root -h 127.0.0.1 -e 'CREATE DATABASE participacao'
24 24 cd /vagrant/db
25 25 bunzip2 db.sql.bz2
26 26 mysql --user=root --password=root -h 127.0.0.1 participacao < /vagrant/db/db.sql
... ...