summaryrefslogtreecommitdiff
path: root/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate.sh')
-rwxr-xr-xgenerate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/generate.sh b/generate.sh
index 22c6f4a..03225e7 100755
--- a/generate.sh
+++ b/generate.sh
@@ -41,8 +41,8 @@ bundle exec rails generate model game_option vartype:integer name:string default
bundle exec rails generate model score user:references match:references value:integer $NOTEST
# Join tables
-bundle exec rails generate migration CreateTournamentPlayersJoinTable users tournaments
-bundle exec rails generate migration CreateTournamentHostsJoinTable users tournaments
+bundle exec rails generate migration CreateTournamentPlayersJoinTable players tournaments
+bundle exec rails generate migration CreateTournamentHostsJoinTable hosts tournaments
bundle exec rails generate migration CreateUserTeamJoinTable users matches
bundle exec rails generate migration CreateMatchTeamJoinTable matches teams