diff options
-rwxr-xr-x | generate.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh index 196edb1..8fc3368 100755 --- a/generate.sh +++ b/generate.sh @@ -22,7 +22,10 @@ bundle exec rails generate scaffold match status:integer tournament:references n bundle exec rails generate scaffold team match:references $NOTEST bundle exec rails generate scaffold alert author:references message:text $NOTEST bundle exec rails generate scaffold pm author:references recipient:references message:text $NOTEST -bundle exec rails generate scaffold tournament name:string:unique game:references status:integer randomized_teams:boolean +bundle exec rails generate scaffold tournament name:string:unique game:references status:integer \ + min_players_per_team:integer max_players_per_team:integer \ + min_teams_per_match:integer max_teams_per_match:integer \ + set_rounds:integer randomized_teams:boolean bundle exec rails generate scaffold game \ name:text \ min_players_per_team:integer max_players_per_team:integer \ |