summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-27 17:44:37 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-27 17:44:37 -0500
commit068e95231c3d2cee113cf77af67ce785d853429e (patch)
tree982b1bd9736e542ff66979ca79bb19a7569ec615
parentf3f17dcd9755020276062caae7c0677eff88cb2f (diff)
Added the seeding to generation.
-rw-r--r--db/migrate/20140304015206_create_servers.rb (renamed from db/migrate/20140304015129_create_servers.rb)0
-rw-r--r--db/migrate/20140304015209_create_tournaments.rb (renamed from db/migrate/20140304015131_create_tournaments.rb)0
-rw-r--r--db/migrate/20140304015211_create_matches.rb (renamed from db/migrate/20140304015133_create_matches.rb)0
-rw-r--r--db/migrate/20140304015213_create_teams.rb (renamed from db/migrate/20140304015135_create_teams.rb)0
-rw-r--r--db/migrate/20140304015215_create_users.rb (renamed from db/migrate/20140304015137_create_users.rb)0
-rw-r--r--db/migrate/20140304015217_create_user_team_pairs.rb (renamed from db/migrate/20140304015139_create_user_team_pairs.rb)0
-rw-r--r--db/migrate/20140304015219_create_team_match_pairs.rb (renamed from db/migrate/20140304015141_create_team_match_pairs.rb)0
-rw-r--r--db/migrate/20140304015221_create_alerts.rb (renamed from db/migrate/20140304015144_create_alerts.rb)0
-rw-r--r--db/migrate/20140304015223_create_pms.rb (renamed from db/migrate/20140304015146_create_pms.rb)0
-rw-r--r--db/migrate/20140304015226_create_games.rb (renamed from db/migrate/20140304015148_create_games.rb)0
-rw-r--r--db/migrate/20140304015228_create_game_attributes.rb (renamed from db/migrate/20140304015150_create_game_attributes.rb)0
-rw-r--r--db/migrate/20140304015230_create_server_settings.rb (renamed from db/migrate/20140304015152_create_server_settings.rb)0
-rw-r--r--db/migrate/20140304015236_create_tournament_options.rb (renamed from db/migrate/20140304015158_create_tournament_options.rb)0
-rw-r--r--db/schema.rb2
-rwxr-xr-xgenerate.sh2
15 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20140304015129_create_servers.rb b/db/migrate/20140304015206_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140304015129_create_servers.rb
+++ b/db/migrate/20140304015206_create_servers.rb
diff --git a/db/migrate/20140304015131_create_tournaments.rb b/db/migrate/20140304015209_create_tournaments.rb
index 36fcf7e..36fcf7e 100644
--- a/db/migrate/20140304015131_create_tournaments.rb
+++ b/db/migrate/20140304015209_create_tournaments.rb
diff --git a/db/migrate/20140304015133_create_matches.rb b/db/migrate/20140304015211_create_matches.rb
index 6c0c157..6c0c157 100644
--- a/db/migrate/20140304015133_create_matches.rb
+++ b/db/migrate/20140304015211_create_matches.rb
diff --git a/db/migrate/20140304015135_create_teams.rb b/db/migrate/20140304015213_create_teams.rb
index dd8397d..dd8397d 100644
--- a/db/migrate/20140304015135_create_teams.rb
+++ b/db/migrate/20140304015213_create_teams.rb
diff --git a/db/migrate/20140304015137_create_users.rb b/db/migrate/20140304015215_create_users.rb
index 6a500e5..6a500e5 100644
--- a/db/migrate/20140304015137_create_users.rb
+++ b/db/migrate/20140304015215_create_users.rb
diff --git a/db/migrate/20140304015139_create_user_team_pairs.rb b/db/migrate/20140304015217_create_user_team_pairs.rb
index 2c492ac..2c492ac 100644
--- a/db/migrate/20140304015139_create_user_team_pairs.rb
+++ b/db/migrate/20140304015217_create_user_team_pairs.rb
diff --git a/db/migrate/20140304015141_create_team_match_pairs.rb b/db/migrate/20140304015219_create_team_match_pairs.rb
index 8fac07e..8fac07e 100644
--- a/db/migrate/20140304015141_create_team_match_pairs.rb
+++ b/db/migrate/20140304015219_create_team_match_pairs.rb
diff --git a/db/migrate/20140304015144_create_alerts.rb b/db/migrate/20140304015221_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140304015144_create_alerts.rb
+++ b/db/migrate/20140304015221_create_alerts.rb
diff --git a/db/migrate/20140304015146_create_pms.rb b/db/migrate/20140304015223_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140304015146_create_pms.rb
+++ b/db/migrate/20140304015223_create_pms.rb
diff --git a/db/migrate/20140304015148_create_games.rb b/db/migrate/20140304015226_create_games.rb
index 59d4ef0..59d4ef0 100644
--- a/db/migrate/20140304015148_create_games.rb
+++ b/db/migrate/20140304015226_create_games.rb
diff --git a/db/migrate/20140304015150_create_game_attributes.rb b/db/migrate/20140304015228_create_game_attributes.rb
index b63f134..b63f134 100644
--- a/db/migrate/20140304015150_create_game_attributes.rb
+++ b/db/migrate/20140304015228_create_game_attributes.rb
diff --git a/db/migrate/20140304015152_create_server_settings.rb b/db/migrate/20140304015230_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140304015152_create_server_settings.rb
+++ b/db/migrate/20140304015230_create_server_settings.rb
diff --git a/db/migrate/20140304015158_create_tournament_options.rb b/db/migrate/20140304015236_create_tournament_options.rb
index d2df22e..d2df22e 100644
--- a/db/migrate/20140304015158_create_tournament_options.rb
+++ b/db/migrate/20140304015236_create_tournament_options.rb
diff --git a/db/schema.rb b/db/schema.rb
index 42417f4..ede0e8c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20140304015158) do
+ActiveRecord::Schema.define(version: 20140304015236) do
create_table "alerts", force: true do |t|
t.integer "author_id"
diff --git a/generate.sh b/generate.sh
index 77d6cb9..9c6a1ab 100755
--- a/generate.sh
+++ b/generate.sh
@@ -29,5 +29,5 @@ bundle exec rails generate model tournament_options
bundle exec rake db:drop RAILS_ENV=development
bundle exec rake db:migrate RAILS_ENV=development
-
+bundle exec rake db:seed
#bundle exec rails generate scaffold