summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20140325202820_create_servers.rb (renamed from db/migrate/20140325201020_create_servers.rb)0
-rw-r--r--db/migrate/20140325202823_create_matches.rb (renamed from db/migrate/20140325201022_create_matches.rb)0
-rw-r--r--db/migrate/20140325202826_create_teams.rb (renamed from db/migrate/20140325201025_create_teams.rb)0
-rw-r--r--db/migrate/20140325202828_create_alerts.rb (renamed from db/migrate/20140325201027_create_alerts.rb)0
-rw-r--r--db/migrate/20140325202831_create_pms.rb (renamed from db/migrate/20140325201030_create_pms.rb)0
-rw-r--r--db/migrate/20140325202833_create_tournaments.rb (renamed from db/migrate/20140325201033_create_tournaments.rb)1
-rw-r--r--db/migrate/20140325202836_create_games.rb (renamed from db/migrate/20140325201035_create_games.rb)0
-rw-r--r--db/migrate/20140325202838_create_users.rb (renamed from db/migrate/20140325201038_create_users.rb)0
-rw-r--r--db/migrate/20140325202841_create_sessions.rb (renamed from db/migrate/20140325201040_create_sessions.rb)0
-rw-r--r--db/migrate/20140325202843_create_server_settings.rb (renamed from db/migrate/20140325201043_create_server_settings.rb)0
-rw-r--r--db/migrate/20140325202846_create_tournament_options.rb (renamed from db/migrate/20140325201045_create_tournament_options.rb)0
-rw-r--r--db/migrate/20140325202848_create_game_settings.rb (renamed from db/migrate/20140325201047_create_game_settings.rb)0
-rw-r--r--db/migrate/20140325202850_create_scores.rb (renamed from db/migrate/20140325201050_create_scores.rb)0
-rw-r--r--db/migrate/20140325202853_create_tournament_players_join_table.rb (renamed from db/migrate/20140325201052_create_tournament_players_join_table.rb)0
-rw-r--r--db/migrate/20140325202855_create_tournament_hosts_join_table.rb (renamed from db/migrate/20140325201055_create_tournament_hosts_join_table.rb)0
-rw-r--r--db/migrate/20140325202858_create_team_user_join_table.rb (renamed from db/migrate/20140325201057_create_team_user_join_table.rb)0
-rw-r--r--db/migrate/20140325202900_create_match_team_join_table.rb (renamed from db/migrate/20140325201059_create_match_team_join_table.rb)0
-rw-r--r--db/migrate/20140325202910_add_hidden_attrs_to_user.rb (renamed from db/migrate/20140325201109_add_hidden_attrs_to_user.rb)0
18 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20140325201020_create_servers.rb b/db/migrate/20140325202820_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140325201020_create_servers.rb
+++ b/db/migrate/20140325202820_create_servers.rb
diff --git a/db/migrate/20140325201022_create_matches.rb b/db/migrate/20140325202823_create_matches.rb
index 67a5b7b..67a5b7b 100644
--- a/db/migrate/20140325201022_create_matches.rb
+++ b/db/migrate/20140325202823_create_matches.rb
diff --git a/db/migrate/20140325201025_create_teams.rb b/db/migrate/20140325202826_create_teams.rb
index fdf9a68..fdf9a68 100644
--- a/db/migrate/20140325201025_create_teams.rb
+++ b/db/migrate/20140325202826_create_teams.rb
diff --git a/db/migrate/20140325201027_create_alerts.rb b/db/migrate/20140325202828_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140325201027_create_alerts.rb
+++ b/db/migrate/20140325202828_create_alerts.rb
diff --git a/db/migrate/20140325201030_create_pms.rb b/db/migrate/20140325202831_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140325201030_create_pms.rb
+++ b/db/migrate/20140325202831_create_pms.rb
diff --git a/db/migrate/20140325201033_create_tournaments.rb b/db/migrate/20140325202833_create_tournaments.rb
index 545e603..c0d8929 100644
--- a/db/migrate/20140325201033_create_tournaments.rb
+++ b/db/migrate/20140325202833_create_tournaments.rb
@@ -1,6 +1,7 @@
class CreateTournaments < ActiveRecord::Migration
def change
create_table :tournaments do |t|
+ t.string :name
t.references :game, index: true
t.integer :status
t.integer :min_players_per_team
diff --git a/db/migrate/20140325201035_create_games.rb b/db/migrate/20140325202836_create_games.rb
index 5e4f56f..5e4f56f 100644
--- a/db/migrate/20140325201035_create_games.rb
+++ b/db/migrate/20140325202836_create_games.rb
diff --git a/db/migrate/20140325201038_create_users.rb b/db/migrate/20140325202838_create_users.rb
index 8032870..8032870 100644
--- a/db/migrate/20140325201038_create_users.rb
+++ b/db/migrate/20140325202838_create_users.rb
diff --git a/db/migrate/20140325201040_create_sessions.rb b/db/migrate/20140325202841_create_sessions.rb
index fe25bf2..fe25bf2 100644
--- a/db/migrate/20140325201040_create_sessions.rb
+++ b/db/migrate/20140325202841_create_sessions.rb
diff --git a/db/migrate/20140325201043_create_server_settings.rb b/db/migrate/20140325202843_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140325201043_create_server_settings.rb
+++ b/db/migrate/20140325202843_create_server_settings.rb
diff --git a/db/migrate/20140325201045_create_tournament_options.rb b/db/migrate/20140325202846_create_tournament_options.rb
index 53b601c..53b601c 100644
--- a/db/migrate/20140325201045_create_tournament_options.rb
+++ b/db/migrate/20140325202846_create_tournament_options.rb
diff --git a/db/migrate/20140325201047_create_game_settings.rb b/db/migrate/20140325202848_create_game_settings.rb
index 0ebbf18..0ebbf18 100644
--- a/db/migrate/20140325201047_create_game_settings.rb
+++ b/db/migrate/20140325202848_create_game_settings.rb
diff --git a/db/migrate/20140325201050_create_scores.rb b/db/migrate/20140325202850_create_scores.rb
index 4ca0b0b..4ca0b0b 100644
--- a/db/migrate/20140325201050_create_scores.rb
+++ b/db/migrate/20140325202850_create_scores.rb
diff --git a/db/migrate/20140325201052_create_tournament_players_join_table.rb b/db/migrate/20140325202853_create_tournament_players_join_table.rb
index be240e8..be240e8 100644
--- a/db/migrate/20140325201052_create_tournament_players_join_table.rb
+++ b/db/migrate/20140325202853_create_tournament_players_join_table.rb
diff --git a/db/migrate/20140325201055_create_tournament_hosts_join_table.rb b/db/migrate/20140325202855_create_tournament_hosts_join_table.rb
index 7521d89..7521d89 100644
--- a/db/migrate/20140325201055_create_tournament_hosts_join_table.rb
+++ b/db/migrate/20140325202855_create_tournament_hosts_join_table.rb
diff --git a/db/migrate/20140325201057_create_team_user_join_table.rb b/db/migrate/20140325202858_create_team_user_join_table.rb
index f3b57fc..f3b57fc 100644
--- a/db/migrate/20140325201057_create_team_user_join_table.rb
+++ b/db/migrate/20140325202858_create_team_user_join_table.rb
diff --git a/db/migrate/20140325201059_create_match_team_join_table.rb b/db/migrate/20140325202900_create_match_team_join_table.rb
index c2ed1b7..c2ed1b7 100644
--- a/db/migrate/20140325201059_create_match_team_join_table.rb
+++ b/db/migrate/20140325202900_create_match_team_join_table.rb
diff --git a/db/migrate/20140325201109_add_hidden_attrs_to_user.rb b/db/migrate/20140325202910_add_hidden_attrs_to_user.rb
index 2f1b0b2..2f1b0b2 100644
--- a/db/migrate/20140325201109_add_hidden_attrs_to_user.rb
+++ b/db/migrate/20140325202910_add_hidden_attrs_to_user.rb