summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140304015129_create_servers.rb (renamed from db/migrate/20140304015051_create_servers.rb)0
-rw-r--r--db/migrate/20140304015131_create_tournaments.rb (renamed from db/migrate/20140304015053_create_tournaments.rb)0
-rw-r--r--db/migrate/20140304015133_create_matches.rb (renamed from db/migrate/20140304015055_create_matches.rb)0
-rw-r--r--db/migrate/20140304015135_create_teams.rb (renamed from db/migrate/20140304015057_create_teams.rb)0
-rw-r--r--db/migrate/20140304015137_create_users.rb (renamed from db/migrate/20140304015059_create_users.rb)0
-rw-r--r--db/migrate/20140304015139_create_user_team_pairs.rb (renamed from db/migrate/20140304015102_create_user_team_pairs.rb)0
-rw-r--r--db/migrate/20140304015141_create_team_match_pairs.rb (renamed from db/migrate/20140304015104_create_team_match_pairs.rb)0
-rw-r--r--db/migrate/20140304015144_create_alerts.rb (renamed from db/migrate/20140304015106_create_alerts.rb)0
-rw-r--r--db/migrate/20140304015146_create_pms.rb (renamed from db/migrate/20140304015108_create_pms.rb)0
-rw-r--r--db/migrate/20140304015148_create_games.rb (renamed from db/migrate/20140304015110_create_games.rb)4
-rw-r--r--db/migrate/20140304015150_create_game_attributes.rb (renamed from db/migrate/20140304015112_create_game_attributes.rb)0
-rw-r--r--db/migrate/20140304015152_create_server_settings.rb (renamed from db/migrate/20140304015114_create_server_settings.rb)0
-rw-r--r--db/migrate/20140304015158_create_tournament_options.rb (renamed from db/migrate/20140304015120_create_tournament_options.rb)0
-rw-r--r--db/schema.rb6
14 files changed, 9 insertions, 1 deletions
diff --git a/db/migrate/20140304015051_create_servers.rb b/db/migrate/20140304015129_create_servers.rb
index f33241a..f33241a 100644
--- a/db/migrate/20140304015051_create_servers.rb
+++ b/db/migrate/20140304015129_create_servers.rb
diff --git a/db/migrate/20140304015053_create_tournaments.rb b/db/migrate/20140304015131_create_tournaments.rb
index 36fcf7e..36fcf7e 100644
--- a/db/migrate/20140304015053_create_tournaments.rb
+++ b/db/migrate/20140304015131_create_tournaments.rb
diff --git a/db/migrate/20140304015055_create_matches.rb b/db/migrate/20140304015133_create_matches.rb
index 6c0c157..6c0c157 100644
--- a/db/migrate/20140304015055_create_matches.rb
+++ b/db/migrate/20140304015133_create_matches.rb
diff --git a/db/migrate/20140304015057_create_teams.rb b/db/migrate/20140304015135_create_teams.rb
index dd8397d..dd8397d 100644
--- a/db/migrate/20140304015057_create_teams.rb
+++ b/db/migrate/20140304015135_create_teams.rb
diff --git a/db/migrate/20140304015059_create_users.rb b/db/migrate/20140304015137_create_users.rb
index 6a500e5..6a500e5 100644
--- a/db/migrate/20140304015059_create_users.rb
+++ b/db/migrate/20140304015137_create_users.rb
diff --git a/db/migrate/20140304015102_create_user_team_pairs.rb b/db/migrate/20140304015139_create_user_team_pairs.rb
index 2c492ac..2c492ac 100644
--- a/db/migrate/20140304015102_create_user_team_pairs.rb
+++ b/db/migrate/20140304015139_create_user_team_pairs.rb
diff --git a/db/migrate/20140304015104_create_team_match_pairs.rb b/db/migrate/20140304015141_create_team_match_pairs.rb
index 8fac07e..8fac07e 100644
--- a/db/migrate/20140304015104_create_team_match_pairs.rb
+++ b/db/migrate/20140304015141_create_team_match_pairs.rb
diff --git a/db/migrate/20140304015106_create_alerts.rb b/db/migrate/20140304015144_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140304015106_create_alerts.rb
+++ b/db/migrate/20140304015144_create_alerts.rb
diff --git a/db/migrate/20140304015108_create_pms.rb b/db/migrate/20140304015146_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140304015108_create_pms.rb
+++ b/db/migrate/20140304015146_create_pms.rb
diff --git a/db/migrate/20140304015110_create_games.rb b/db/migrate/20140304015148_create_games.rb
index fc54709..59d4ef0 100644
--- a/db/migrate/20140304015110_create_games.rb
+++ b/db/migrate/20140304015148_create_games.rb
@@ -2,6 +2,10 @@ class CreateGames < ActiveRecord::Migration
def change
create_table :games do |t|
t.text :name
+ t.integer :players_per_team
+ t.integer :teams_per_match
+ t.integer :set_rounds
+ t.integer :randomized_teams
t.timestamps
end
diff --git a/db/migrate/20140304015112_create_game_attributes.rb b/db/migrate/20140304015150_create_game_attributes.rb
index b63f134..b63f134 100644
--- a/db/migrate/20140304015112_create_game_attributes.rb
+++ b/db/migrate/20140304015150_create_game_attributes.rb
diff --git a/db/migrate/20140304015114_create_server_settings.rb b/db/migrate/20140304015152_create_server_settings.rb
index dfdd91b..dfdd91b 100644
--- a/db/migrate/20140304015114_create_server_settings.rb
+++ b/db/migrate/20140304015152_create_server_settings.rb
diff --git a/db/migrate/20140304015120_create_tournament_options.rb b/db/migrate/20140304015158_create_tournament_options.rb
index d2df22e..d2df22e 100644
--- a/db/migrate/20140304015120_create_tournament_options.rb
+++ b/db/migrate/20140304015158_create_tournament_options.rb
diff --git a/db/schema.rb b/db/schema.rb
index 7681cfc..42417f4 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: 20140304015120) do
+ActiveRecord::Schema.define(version: 20140304015158) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -34,6 +34,10 @@ ActiveRecord::Schema.define(version: 20140304015120) do
create_table "games", force: true do |t|
t.text "name"
+ t.integer "players_per_team"
+ t.integer "teams_per_match"
+ t.integer "set_rounds"
+ t.integer "randomized_teams"
t.datetime "created_at"
t.datetime "updated_at"
end