summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:40:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:40:12 -0500
commit9493275dbb5c59cfe571c48a8ff76d5b1a723d6a (patch)
tree19cdf2711a3a9d1e4f2f6542d6b804716ae42c68 /db/migrate
parent64d4bd0d7bff0bf0e1c405bfa154f22775ca724e (diff)
parent88204381fbdef9d9f80d796b695b1e7e0b8f6814 (diff)
Merge branch 'clean'
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20140307022745_create_tournament_players_join_table.rb8
-rw-r--r--db/migrate/20140307022749_create_tournament_hosts_join_table.rb8
-rw-r--r--db/migrate/20140307023418_create_servers.rb (renamed from db/migrate/20140307022637_create_servers.rb)0
-rw-r--r--db/migrate/20140307023423_create_matches.rb (renamed from db/migrate/20140307022643_create_matches.rb)0
-rw-r--r--db/migrate/20140307023428_create_teams.rb (renamed from db/migrate/20140307022648_create_teams.rb)0
-rw-r--r--db/migrate/20140307023433_create_alerts.rb (renamed from db/migrate/20140307022653_create_alerts.rb)0
-rw-r--r--db/migrate/20140307023438_create_pms.rb (renamed from db/migrate/20140307022658_create_pms.rb)0
-rw-r--r--db/migrate/20140307023443_create_tournaments.rb (renamed from db/migrate/20140307022704_create_tournaments.rb)0
-rw-r--r--db/migrate/20140307023448_create_games.rb (renamed from db/migrate/20140307022709_create_games.rb)0
-rw-r--r--db/migrate/20140307023453_create_users.rb (renamed from db/migrate/20140307022714_create_users.rb)0
-rw-r--r--db/migrate/20140307023459_create_sessions.rb (renamed from db/migrate/20140307022719_create_sessions.rb)0
-rw-r--r--db/migrate/20140307023504_create_server_settings.rb (renamed from db/migrate/20140307022725_create_server_settings.rb)0
-rw-r--r--db/migrate/20140307023509_create_tournament_options.rb (renamed from db/migrate/20140307022729_create_tournament_options.rb)0
-rw-r--r--db/migrate/20140307023514_create_game_options.rb (renamed from db/migrate/20140307022734_create_game_options.rb)0
-rw-r--r--db/migrate/20140307023519_create_scores.rb (renamed from db/migrate/20140307022740_create_scores.rb)0
-rw-r--r--db/migrate/20140307023524_create_tournament_players_join_table.rb8
-rw-r--r--db/migrate/20140307023529_create_tournament_hosts_join_table.rb8
-rw-r--r--db/migrate/20140307023534_create_user_team_join_table.rb (renamed from db/migrate/20140307022754_create_user_team_join_table.rb)0
-rw-r--r--db/migrate/20140307023538_create_match_team_join_table.rb (renamed from db/migrate/20140307022759_create_match_team_join_table.rb)0
-rw-r--r--db/migrate/20140307023557_add_hidden_attrs_to_user.rb (renamed from db/migrate/20140307022818_add_hidden_attrs_to_user.rb)0
20 files changed, 16 insertions, 16 deletions
diff --git a/db/migrate/20140307022745_create_tournament_players_join_table.rb b/db/migrate/20140307022745_create_tournament_players_join_table.rb
deleted file mode 100644
index 9ff8a7a..0000000
--- a/db/migrate/20140307022745_create_tournament_players_join_table.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class CreateTournamentPlayersJoinTable < ActiveRecord::Migration
- def change
- create_join_table :users, :tournaments do |t|
- # t.index [:user_id, :tournament_id]
- # t.index [:tournament_id, :user_id]
- end
- end
-end
diff --git a/db/migrate/20140307022749_create_tournament_hosts_join_table.rb b/db/migrate/20140307022749_create_tournament_hosts_join_table.rb
deleted file mode 100644
index 0eff550..0000000
--- a/db/migrate/20140307022749_create_tournament_hosts_join_table.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class CreateTournamentHostsJoinTable < ActiveRecord::Migration
- def change
- create_join_table :users, :tournaments do |t|
- # t.index [:user_id, :tournament_id]
- # t.index [:tournament_id, :user_id]
- end
- end
-end
diff --git a/db/migrate/20140307022637_create_servers.rb b/db/migrate/20140307023418_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140307022637_create_servers.rb
+++ b/db/migrate/20140307023418_create_servers.rb
diff --git a/db/migrate/20140307022643_create_matches.rb b/db/migrate/20140307023423_create_matches.rb
index 325863d..325863d 100644
--- a/db/migrate/20140307022643_create_matches.rb
+++ b/db/migrate/20140307023423_create_matches.rb
diff --git a/db/migrate/20140307022648_create_teams.rb b/db/migrate/20140307023428_create_teams.rb
index fdf9a68..fdf9a68 100644
--- a/db/migrate/20140307022648_create_teams.rb
+++ b/db/migrate/20140307023428_create_teams.rb
diff --git a/db/migrate/20140307022653_create_alerts.rb b/db/migrate/20140307023433_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140307022653_create_alerts.rb
+++ b/db/migrate/20140307023433_create_alerts.rb
diff --git a/db/migrate/20140307022658_create_pms.rb b/db/migrate/20140307023438_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140307022658_create_pms.rb
+++ b/db/migrate/20140307023438_create_pms.rb
diff --git a/db/migrate/20140307022704_create_tournaments.rb b/db/migrate/20140307023443_create_tournaments.rb
index 545e603..545e603 100644
--- a/db/migrate/20140307022704_create_tournaments.rb
+++ b/db/migrate/20140307023443_create_tournaments.rb
diff --git a/db/migrate/20140307022709_create_games.rb b/db/migrate/20140307023448_create_games.rb
index 5e4f56f..5e4f56f 100644
--- a/db/migrate/20140307022709_create_games.rb
+++ b/db/migrate/20140307023448_create_games.rb
diff --git a/db/migrate/20140307022714_create_users.rb b/db/migrate/20140307023453_create_users.rb
index 8032870..8032870 100644
--- a/db/migrate/20140307022714_create_users.rb
+++ b/db/migrate/20140307023453_create_users.rb
diff --git a/db/migrate/20140307022719_create_sessions.rb b/db/migrate/20140307023459_create_sessions.rb
index fe25bf2..fe25bf2 100644
--- a/db/migrate/20140307022719_create_sessions.rb
+++ b/db/migrate/20140307023459_create_sessions.rb
diff --git a/db/migrate/20140307022725_create_server_settings.rb b/db/migrate/20140307023504_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140307022725_create_server_settings.rb
+++ b/db/migrate/20140307023504_create_server_settings.rb
diff --git a/db/migrate/20140307022729_create_tournament_options.rb b/db/migrate/20140307023509_create_tournament_options.rb
index 53b601c..53b601c 100644
--- a/db/migrate/20140307022729_create_tournament_options.rb
+++ b/db/migrate/20140307023509_create_tournament_options.rb
diff --git a/db/migrate/20140307022734_create_game_options.rb b/db/migrate/20140307023514_create_game_options.rb
index 2f62ef7..2f62ef7 100644
--- a/db/migrate/20140307022734_create_game_options.rb
+++ b/db/migrate/20140307023514_create_game_options.rb
diff --git a/db/migrate/20140307022740_create_scores.rb b/db/migrate/20140307023519_create_scores.rb
index 4ca0b0b..4ca0b0b 100644
--- a/db/migrate/20140307022740_create_scores.rb
+++ b/db/migrate/20140307023519_create_scores.rb
diff --git a/db/migrate/20140307023524_create_tournament_players_join_table.rb b/db/migrate/20140307023524_create_tournament_players_join_table.rb
new file mode 100644
index 0000000..be240e8
--- /dev/null
+++ b/db/migrate/20140307023524_create_tournament_players_join_table.rb
@@ -0,0 +1,8 @@
+class CreateTournamentPlayersJoinTable < ActiveRecord::Migration
+ def change
+ create_join_table :players, :tournaments do |t|
+ # t.index [:player_id, :tournament_id]
+ # t.index [:tournament_id, :player_id]
+ end
+ end
+end
diff --git a/db/migrate/20140307023529_create_tournament_hosts_join_table.rb b/db/migrate/20140307023529_create_tournament_hosts_join_table.rb
new file mode 100644
index 0000000..7521d89
--- /dev/null
+++ b/db/migrate/20140307023529_create_tournament_hosts_join_table.rb
@@ -0,0 +1,8 @@
+class CreateTournamentHostsJoinTable < ActiveRecord::Migration
+ def change
+ create_join_table :hosts, :tournaments do |t|
+ # t.index [:host_id, :tournament_id]
+ # t.index [:tournament_id, :host_id]
+ end
+ end
+end
diff --git a/db/migrate/20140307022754_create_user_team_join_table.rb b/db/migrate/20140307023534_create_user_team_join_table.rb
index 7b4d17f..7b4d17f 100644
--- a/db/migrate/20140307022754_create_user_team_join_table.rb
+++ b/db/migrate/20140307023534_create_user_team_join_table.rb
diff --git a/db/migrate/20140307022759_create_match_team_join_table.rb b/db/migrate/20140307023538_create_match_team_join_table.rb
index c2ed1b7..c2ed1b7 100644
--- a/db/migrate/20140307022759_create_match_team_join_table.rb
+++ b/db/migrate/20140307023538_create_match_team_join_table.rb
diff --git a/db/migrate/20140307022818_add_hidden_attrs_to_user.rb b/db/migrate/20140307023557_add_hidden_attrs_to_user.rb
index 2f1b0b2..2f1b0b2 100644
--- a/db/migrate/20140307022818_add_hidden_attrs_to_user.rb
+++ b/db/migrate/20140307023557_add_hidden_attrs_to_user.rb