summaryrefslogtreecommitdiff
path: root/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate.sh')
-rwxr-xr-xgenerate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh
index 32eacfa..8980139 100755
--- a/generate.sh
+++ b/generate.sh
@@ -33,7 +33,7 @@ bundle exec rails generate scaffold session user:references token:string:uniq
bundle exec rails generate scaffold bracket user:references tournament:references name:string
# Just models
-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 game_setting game:references name:string vartype:integer type_opt:text description:text display_order:integer default:text parent:references
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 tournament_stage tournament:references scheduling:string structure:text