summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenerate.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/generate.sh b/generate.sh
index 059d3f8..ce9bcd5 100755
--- a/generate.sh
+++ b/generate.sh
@@ -40,8 +40,9 @@ bundle exec rails generate scaffold bracket user:references tournament:reference
# Just models
bundle exec rails generate model server_setting
-bundle exec rails generate model game_setting game:references stype:integer name:string default:text description:text type_opt:text display_order:integer
-bundle exec rails generate model tournament_setting tournament:references vartype:integer name:string value:text
+bundle exec rails generate model game_setting game:references name:string vartype:integer type_opt:text description:text display_order:integer default:text
+bundle exec rails generate model tournament_setting tournament:references name:string vartype:integer type_opt:text description:text display_order:integer value:text
+
bundle exec rails generate model score user:references match:references value:integer
bundle exec rails generate model remote_username game:references user:references json_value:text
bundle exec rails generate model bracket_match bracket:references match:references predicted_winner:references