summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
commitfefe3f469243d6c932c256cc8798bae35e4ff1c4 (patch)
tree7a413b2c3bcfb0cd6842c70ae0ff962b6908172c /db
parentc7469584f3fa51666d5df074d012741cbb2f3663 (diff)
Added Tournament Name.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140304020709_create_servers.rb (renamed from db/migrate/20140304020531_create_servers.rb)0
-rw-r--r--db/migrate/20140304020711_create_tournaments.rb (renamed from db/migrate/20140304020533_create_tournaments.rb)0
-rw-r--r--db/migrate/20140304020713_create_matches.rb (renamed from db/migrate/20140304020536_create_matches.rb)1
-rw-r--r--db/migrate/20140304020716_create_teams.rb (renamed from db/migrate/20140304020538_create_teams.rb)0
-rw-r--r--db/migrate/20140304020722_create_users.rb (renamed from db/migrate/20140304020545_create_users.rb)0
-rw-r--r--db/migrate/20140304020724_create_user_team_pairs.rb (renamed from db/migrate/20140304020547_create_user_team_pairs.rb)0
-rw-r--r--db/migrate/20140304020727_create_team_match_pairs.rb (renamed from db/migrate/20140304020549_create_team_match_pairs.rb)0
-rw-r--r--db/migrate/20140304020729_create_alerts.rb (renamed from db/migrate/20140304020551_create_alerts.rb)0
-rw-r--r--db/migrate/20140304020731_create_pms.rb (renamed from db/migrate/20140304020554_create_pms.rb)0
-rw-r--r--db/migrate/20140304020733_create_games.rb (renamed from db/migrate/20140304020556_create_games.rb)0
-rw-r--r--db/migrate/20140304020736_create_game_attributes.rb (renamed from db/migrate/20140304020558_create_game_attributes.rb)0
-rw-r--r--db/migrate/20140304020738_create_server_settings.rb (renamed from db/migrate/20140304020601_create_server_settings.rb)0
-rw-r--r--db/migrate/20140304020747_create_tournament_options.rb (renamed from db/migrate/20140304020609_create_tournament_options.rb)0
-rw-r--r--db/schema.rb3
14 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20140304020531_create_servers.rb b/db/migrate/20140304020709_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140304020531_create_servers.rb
+++ b/db/migrate/20140304020709_create_servers.rb
diff --git a/db/migrate/20140304020533_create_tournaments.rb b/db/migrate/20140304020711_create_tournaments.rb
index 36fcf7e..36fcf7e 100644
--- a/db/migrate/20140304020533_create_tournaments.rb
+++ b/db/migrate/20140304020711_create_tournaments.rb
diff --git a/db/migrate/20140304020536_create_matches.rb b/db/migrate/20140304020713_create_matches.rb
index 6c0c157..325863d 100644
--- a/db/migrate/20140304020536_create_matches.rb
+++ b/db/migrate/20140304020713_create_matches.rb
@@ -2,6 +2,7 @@ class CreateMatches < ActiveRecord::Migration
def change
create_table :matches do |t|
t.references :tournament, index: true
+ t.string :name
t.timestamps
end
diff --git a/db/migrate/20140304020538_create_teams.rb b/db/migrate/20140304020716_create_teams.rb
index dd8397d..dd8397d 100644
--- a/db/migrate/20140304020538_create_teams.rb
+++ b/db/migrate/20140304020716_create_teams.rb
diff --git a/db/migrate/20140304020545_create_users.rb b/db/migrate/20140304020722_create_users.rb
index f0986d4..f0986d4 100644
--- a/db/migrate/20140304020545_create_users.rb
+++ b/db/migrate/20140304020722_create_users.rb
diff --git a/db/migrate/20140304020547_create_user_team_pairs.rb b/db/migrate/20140304020724_create_user_team_pairs.rb
index 2c492ac..2c492ac 100644
--- a/db/migrate/20140304020547_create_user_team_pairs.rb
+++ b/db/migrate/20140304020724_create_user_team_pairs.rb
diff --git a/db/migrate/20140304020549_create_team_match_pairs.rb b/db/migrate/20140304020727_create_team_match_pairs.rb
index 8fac07e..8fac07e 100644
--- a/db/migrate/20140304020549_create_team_match_pairs.rb
+++ b/db/migrate/20140304020727_create_team_match_pairs.rb
diff --git a/db/migrate/20140304020551_create_alerts.rb b/db/migrate/20140304020729_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140304020551_create_alerts.rb
+++ b/db/migrate/20140304020729_create_alerts.rb
diff --git a/db/migrate/20140304020554_create_pms.rb b/db/migrate/20140304020731_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140304020554_create_pms.rb
+++ b/db/migrate/20140304020731_create_pms.rb
diff --git a/db/migrate/20140304020556_create_games.rb b/db/migrate/20140304020733_create_games.rb
index 59d4ef0..59d4ef0 100644
--- a/db/migrate/20140304020556_create_games.rb
+++ b/db/migrate/20140304020733_create_games.rb
diff --git a/db/migrate/20140304020558_create_game_attributes.rb b/db/migrate/20140304020736_create_game_attributes.rb
index b63f134..b63f134 100644
--- a/db/migrate/20140304020558_create_game_attributes.rb
+++ b/db/migrate/20140304020736_create_game_attributes.rb
diff --git a/db/migrate/20140304020601_create_server_settings.rb b/db/migrate/20140304020738_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140304020601_create_server_settings.rb
+++ b/db/migrate/20140304020738_create_server_settings.rb
diff --git a/db/migrate/20140304020609_create_tournament_options.rb b/db/migrate/20140304020747_create_tournament_options.rb
index d2df22e..d2df22e 100644
--- a/db/migrate/20140304020609_create_tournament_options.rb
+++ b/db/migrate/20140304020747_create_tournament_options.rb
diff --git a/db/schema.rb b/db/schema.rb
index 847a686..9069230 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: 20140304020609) do
+ActiveRecord::Schema.define(version: 20140304020747) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -44,6 +44,7 @@ ActiveRecord::Schema.define(version: 20140304020609) do
create_table "matches", force: true do |t|
t.integer "tournament_id"
+ t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end