Skip to content

Commit

Permalink
update migration.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyKitten committed Mar 30, 2021
1 parent 7eea65d commit ecc2dad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/migration.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh

mysql -f -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MYSQL_HOST -e "CREATE DATABASE ${MYSQL_DATABASE} /*\!40100 DEFAULT CHARACTER SET utf8 */;" || true
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MYSQL_HOST $MYSQL_DATABASE < ./migrations/01_dump.sql

0 comments on commit ecc2dad

Please sign in to comment.