Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
fix the container for table creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattr- committed Jun 8, 2019
1 parent 62aea47 commit e5bbad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ appdir=$(cd "$(dirname "$0")/.." && pwd)
docker-compose run -d db

# Create the databases
docker-compose run db mysqladmin -h localhost -uroot create janky_development
docker-compose run db mysqladmin -h localhost -uroot create janky_test
docker-compose run app mysqladmin -h db -uroot create janky_development
docker-compose run app mysqladmin -h db -uroot create janky_test

# Create the tables
docker-compose run app bin/rake db:migrate
Expand Down

0 comments on commit e5bbad3

Please sign in to comment.