summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140304020757_create_servers.rb (renamed from db/migrate/20140304020620_create_servers.rb)0
-rw-r--r--db/migrate/20140304020800_create_tournaments.rb (renamed from db/migrate/20140304020622_create_tournaments.rb)0
-rw-r--r--db/migrate/20140304020802_create_matches.rb (renamed from db/migrate/20140304020625_create_matches.rb)1
-rw-r--r--db/migrate/20140304020804_create_teams.rb (renamed from db/migrate/20140304020627_create_teams.rb)0
-rw-r--r--db/migrate/20140304020811_create_users.rb (renamed from db/migrate/20140304020633_create_users.rb)0
-rw-r--r--db/migrate/20140304020813_create_user_team_pairs.rb (renamed from db/migrate/20140304020636_create_user_team_pairs.rb)0
-rw-r--r--db/migrate/20140304020815_create_team_match_pairs.rb (renamed from db/migrate/20140304020638_create_team_match_pairs.rb)0
-rw-r--r--db/migrate/20140304020817_create_alerts.rb (renamed from db/migrate/20140304020640_create_alerts.rb)0
-rw-r--r--db/migrate/20140304020820_create_pms.rb (renamed from db/migrate/20140304020642_create_pms.rb)0
-rw-r--r--db/migrate/20140304020822_create_games.rb (renamed from db/migrate/20140304020645_create_games.rb)0
-rw-r--r--db/migrate/20140304020824_create_game_attributes.rb (renamed from db/migrate/20140304020647_create_game_attributes.rb)0
-rw-r--r--db/migrate/20140304020827_create_server_settings.rb (renamed from db/migrate/20140304020649_create_server_settings.rb)0
-rw-r--r--db/migrate/20140304020835_create_tournament_options.rb (renamed from db/migrate/20140304020658_create_tournament_options.rb)0
-rw-r--r--db/schema.rb3
14 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20140304020620_create_servers.rb b/db/migrate/20140304020757_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140304020620_create_servers.rb
+++ b/db/migrate/20140304020757_create_servers.rb
diff --git a/db/migrate/20140304020622_create_tournaments.rb b/db/migrate/20140304020800_create_tournaments.rb
index 36fcf7e..36fcf7e 100644
--- a/db/migrate/20140304020622_create_tournaments.rb
+++ b/db/migrate/20140304020800_create_tournaments.rb
diff --git a/db/migrate/20140304020625_create_matches.rb b/db/migrate/20140304020802_create_matches.rb
index 6c0c157..325863d 100644
--- a/db/migrate/20140304020625_create_matches.rb
+++ b/db/migrate/20140304020802_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/20140304020627_create_teams.rb b/db/migrate/20140304020804_create_teams.rb
index dd8397d..dd8397d 100644
--- a/db/migrate/20140304020627_create_teams.rb
+++ b/db/migrate/20140304020804_create_teams.rb
diff --git a/db/migrate/20140304020633_create_users.rb b/db/migrate/20140304020811_create_users.rb
index f0986d4..f0986d4 100644
--- a/db/migrate/20140304020633_create_users.rb
+++ b/db/migrate/20140304020811_create_users.rb
diff --git a/db/migrate/20140304020636_create_user_team_pairs.rb b/db/migrate/20140304020813_create_user_team_pairs.rb
index 2c492ac..2c492ac 100644
--- a/db/migrate/20140304020636_create_user_team_pairs.rb
+++ b/db/migrate/20140304020813_create_user_team_pairs.rb
diff --git a/db/migrate/20140304020638_create_team_match_pairs.rb b/db/migrate/20140304020815_create_team_match_pairs.rb
index 8fac07e..8fac07e 100644
--- a/db/migrate/20140304020638_create_team_match_pairs.rb
+++ b/db/migrate/20140304020815_create_team_match_pairs.rb
diff --git a/db/migrate/20140304020640_create_alerts.rb b/db/migrate/20140304020817_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140304020640_create_alerts.rb
+++ b/db/migrate/20140304020817_create_alerts.rb
diff --git a/db/migrate/20140304020642_create_pms.rb b/db/migrate/20140304020820_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140304020642_create_pms.rb
+++ b/db/migrate/20140304020820_create_pms.rb
diff --git a/db/migrate/20140304020645_create_games.rb b/db/migrate/20140304020822_create_games.rb
index 59d4ef0..59d4ef0 100644
--- a/db/migrate/20140304020645_create_games.rb
+++ b/db/migrate/20140304020822_create_games.rb
diff --git a/db/migrate/20140304020647_create_game_attributes.rb b/db/migrate/20140304020824_create_game_attributes.rb
index b63f134..b63f134 100644
--- a/db/migrate/20140304020647_create_game_attributes.rb
+++ b/db/migrate/20140304020824_create_game_attributes.rb
diff --git a/db/migrate/20140304020649_create_server_settings.rb b/db/migrate/20140304020827_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140304020649_create_server_settings.rb
+++ b/db/migrate/20140304020827_create_server_settings.rb
diff --git a/db/migrate/20140304020658_create_tournament_options.rb b/db/migrate/20140304020835_create_tournament_options.rb
index d2df22e..d2df22e 100644
--- a/db/migrate/20140304020658_create_tournament_options.rb
+++ b/db/migrate/20140304020835_create_tournament_options.rb
diff --git a/db/schema.rb b/db/schema.rb
index 4e4d940..5e2024b 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: 20140304020658) do
+ActiveRecord::Schema.define(version: 20140304020835) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -44,6 +44,7 @@ ActiveRecord::Schema.define(version: 20140304020658) do
create_table "matches", force: true do |t|
t.integer "tournament_id"
+ t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end