No need to drop the database as the VM is reset every time.
This commit is contained in:
parent
532557bdc8
commit
c5b265b177
@ -20,7 +20,7 @@ install:
|
||||
|
||||
# Enable logging of all queries (for debugging) and create the database schema for shimmie.
|
||||
- if [[ "$DB" == "pgsql" ]]; then psql -c "SELECT set_config('log_statement', 'all', false);" -U postgres; fi
|
||||
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS shimmie; CREATE DATABASE shimmie;" -U postgres; fi
|
||||
- if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE shimmie;" -U postgres; fi
|
||||
- if [[ "$DB" == "mysql" ]]; then mysql -e "SET GLOBAL general_log = 'ON';" -uroot; fi
|
||||
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE shimmie;" -uroot; fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user