diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-02-20 17:13:51 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-02-20 17:13:51 -0500 |
commit | 1b0022eca5cfbab8bfee72030d45443bf9d44af7 (patch) | |
tree | 8e6622b3fb611fd4407ef45cb6d1d5bc87990503 | |
parent | 35079ada649871f4490ce10c240f575d85b24968 (diff) |
fix datatype names in generate.sh
-rwxr-xr-x | generate.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generate.sh b/generate.sh index 28d1936..666869c 100755 --- a/generate.sh +++ b/generate.sh @@ -10,13 +10,13 @@ set -x bundle exec rails generate scaffold server bundle exec rails generate scaffold tournament -bundle exec rails generate scaffold match tournament:reference +bundle exec rails generate scaffold match tournament:references bundle exec rails generate scaffold team -bundle exec rails generate scaffold user name:text pw_hash:varchar groups:int -bundle exec rails generate model user_team_pair user:reference team:reference -bundle exec rails generate model team_match_pair team:reference match:reference -bundle exec rails generate scaffold alert author:reference message:text -bundle exec rails generate scaffold pm author:reference recipient:reference message:text +bundle exec rails generate scaffold user name:text pw_hash:text groups:integer +bundle exec rails generate model user_team_pair user:references team:references +bundle exec rails generate model team_match_pair team:references match:references +bundle exec rails generate scaffold alert author:references message:text +bundle exec rails generate scaffold pm author:references recipient:references message:text bundle exec rails generate model server_settings bundle exec rails generate controller search bundle exec rails generate controller main |