summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-04-23 21:33:49 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-04-23 21:33:49 -0400
commitd1dbfb1dcd4810f538826fa5e448bdda0998b38e (patch)
treec6be6915592d9eb6ac765847f86f7223f135a2e7 /db
parente0d2e72c9c2b7268cf6b7fc52a2d1ce50b53377a (diff)
run ./generate.sh
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140423213222_create_simple_captcha_data.rb (renamed from db/migrate/20140423205436_create_simple_captcha_data.rb)0
-rw-r--r--db/migrate/20140424013221_create_mailboxer.mailboxer_engine.rb (renamed from db/migrate/20140424005433_create_mailboxer.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013222_add_notified_object.mailboxer_engine.rb (renamed from db/migrate/20140424005434_add_notified_object.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013223_add_notification_code.mailboxer_engine.rb (renamed from db/migrate/20140424005435_add_notification_code.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013224_add_attachments.mailboxer_engine.rb (renamed from db/migrate/20140424005436_add_attachments.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013225_rename_receipts_read.mailboxer_engine.rb (renamed from db/migrate/20140424005437_rename_receipts_read.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013226_add_global_notification_support.mailboxer_engine.rb (renamed from db/migrate/20140424005438_add_global_notification_support.mailboxer_engine.rb)0
-rw-r--r--db/migrate/20140424013227_create_delayed_jobs.rb (renamed from db/migrate/20140424005439_create_delayed_jobs.rb)0
-rw-r--r--db/migrate/20140424013228_create_servers.rb (renamed from db/migrate/20140424005442_create_servers.rb)0
-rw-r--r--db/migrate/20140424013229_create_matches.rb (renamed from db/migrate/20140424005445_create_matches.rb)0
-rw-r--r--db/migrate/20140424013230_create_teams.rb (renamed from db/migrate/20140424005448_create_teams.rb)0
-rw-r--r--db/migrate/20140424013231_create_alerts.rb (renamed from db/migrate/20140424005451_create_alerts.rb)0
-rw-r--r--db/migrate/20140424013232_create_pms.rb (renamed from db/migrate/20140424005454_create_pms.rb)0
-rw-r--r--db/migrate/20140424013233_create_tournaments.rb (renamed from db/migrate/20140424005457_create_tournaments.rb)0
-rw-r--r--db/migrate/20140424013234_create_games.rb (renamed from db/migrate/20140424005500_create_games.rb)0
-rw-r--r--db/migrate/20140424013236_create_users.rb (renamed from db/migrate/20140424005503_create_users.rb)0
-rw-r--r--db/migrate/20140424013237_create_sessions.rb (renamed from db/migrate/20140424005506_create_sessions.rb)0
-rw-r--r--db/migrate/20140424013239_create_brackets.rb (renamed from db/migrate/20140424005509_create_brackets.rb)0
-rw-r--r--db/migrate/20140424013241_create_game_settings.rb (renamed from db/migrate/20140424005512_create_game_settings.rb)1
-rw-r--r--db/migrate/20140424013242_create_tournament_settings.rb (renamed from db/migrate/20140424005515_create_tournament_settings.rb)0
-rw-r--r--db/migrate/20140424013244_create_tournament_stages.rb (renamed from db/migrate/20140424005519_create_tournament_stages.rb)0
-rw-r--r--db/migrate/20140424013245_create_statistics.rb (renamed from db/migrate/20140424005523_create_statistics.rb)0
-rw-r--r--db/migrate/20140424013247_create_remote_usernames.rb (renamed from db/migrate/20140424005527_create_remote_usernames.rb)0
-rw-r--r--db/migrate/20140424013248_create_bracket_matches.rb (renamed from db/migrate/20140424005530_create_bracket_matches.rb)0
-rw-r--r--db/migrate/20140424013250_create_api_requests.rb (renamed from db/migrate/20140424005533_create_api_requests.rb)0
-rw-r--r--db/migrate/20140424013251_create_tournament_players_join_table.rb (renamed from db/migrate/20140424005536_create_tournament_players_join_table.rb)0
-rw-r--r--db/migrate/20140424013253_create_tournament_hosts_join_table.rb (renamed from db/migrate/20140424005539_create_tournament_hosts_join_table.rb)0
-rw-r--r--db/migrate/20140424013254_create_team_user_join_table.rb (renamed from db/migrate/20140424005542_create_team_user_join_table.rb)0
-rw-r--r--db/migrate/20140424013256_create_match_team_join_table.rb (renamed from db/migrate/20140424005544_create_match_team_join_table.rb)0
-rw-r--r--db/migrate/20140424013300_add_hidden_attrs_to_user.rb (renamed from db/migrate/20140424005552_add_hidden_attrs_to_user.rb)0
-rw-r--r--db/schema.rb4
31 files changed, 4 insertions, 1 deletions
diff --git a/db/migrate/20140423205436_create_simple_captcha_data.rb b/db/migrate/20140423213222_create_simple_captcha_data.rb
index 4573b20..4573b20 100644
--- a/db/migrate/20140423205436_create_simple_captcha_data.rb
+++ b/db/migrate/20140423213222_create_simple_captcha_data.rb
diff --git a/db/migrate/20140424005433_create_mailboxer.mailboxer_engine.rb b/db/migrate/20140424013221_create_mailboxer.mailboxer_engine.rb
index 690cec2..690cec2 100644
--- a/db/migrate/20140424005433_create_mailboxer.mailboxer_engine.rb
+++ b/db/migrate/20140424013221_create_mailboxer.mailboxer_engine.rb
diff --git a/db/migrate/20140424005434_add_notified_object.mailboxer_engine.rb b/db/migrate/20140424013222_add_notified_object.mailboxer_engine.rb
index 7f41ac6..7f41ac6 100644
--- a/db/migrate/20140424005434_add_notified_object.mailboxer_engine.rb
+++ b/db/migrate/20140424013222_add_notified_object.mailboxer_engine.rb
diff --git a/db/migrate/20140424005435_add_notification_code.mailboxer_engine.rb b/db/migrate/20140424013223_add_notification_code.mailboxer_engine.rb
index 04c12ef..04c12ef 100644
--- a/db/migrate/20140424005435_add_notification_code.mailboxer_engine.rb
+++ b/db/migrate/20140424013223_add_notification_code.mailboxer_engine.rb
diff --git a/db/migrate/20140424005436_add_attachments.mailboxer_engine.rb b/db/migrate/20140424013224_add_attachments.mailboxer_engine.rb
index b8d6588..b8d6588 100644
--- a/db/migrate/20140424005436_add_attachments.mailboxer_engine.rb
+++ b/db/migrate/20140424013224_add_attachments.mailboxer_engine.rb
diff --git a/db/migrate/20140424005437_rename_receipts_read.mailboxer_engine.rb b/db/migrate/20140424013225_rename_receipts_read.mailboxer_engine.rb
index 9ce904f..9ce904f 100644
--- a/db/migrate/20140424005437_rename_receipts_read.mailboxer_engine.rb
+++ b/db/migrate/20140424013225_rename_receipts_read.mailboxer_engine.rb
diff --git a/db/migrate/20140424005438_add_global_notification_support.mailboxer_engine.rb b/db/migrate/20140424013226_add_global_notification_support.mailboxer_engine.rb
index 60f67ab..60f67ab 100644
--- a/db/migrate/20140424005438_add_global_notification_support.mailboxer_engine.rb
+++ b/db/migrate/20140424013226_add_global_notification_support.mailboxer_engine.rb
diff --git a/db/migrate/20140424005439_create_delayed_jobs.rb b/db/migrate/20140424013227_create_delayed_jobs.rb
index ec0dd93..ec0dd93 100644
--- a/db/migrate/20140424005439_create_delayed_jobs.rb
+++ b/db/migrate/20140424013227_create_delayed_jobs.rb
diff --git a/db/migrate/20140424005442_create_servers.rb b/db/migrate/20140424013228_create_servers.rb
index fbe1b02..fbe1b02 100644
--- a/db/migrate/20140424005442_create_servers.rb
+++ b/db/migrate/20140424013228_create_servers.rb
diff --git a/db/migrate/20140424005445_create_matches.rb b/db/migrate/20140424013229_create_matches.rb
index bac92d1..bac92d1 100644
--- a/db/migrate/20140424005445_create_matches.rb
+++ b/db/migrate/20140424013229_create_matches.rb
diff --git a/db/migrate/20140424005448_create_teams.rb b/db/migrate/20140424013230_create_teams.rb
index dd8397d..dd8397d 100644
--- a/db/migrate/20140424005448_create_teams.rb
+++ b/db/migrate/20140424013230_create_teams.rb
diff --git a/db/migrate/20140424005451_create_alerts.rb b/db/migrate/20140424013231_create_alerts.rb
index 68a8e10..68a8e10 100644
--- a/db/migrate/20140424005451_create_alerts.rb
+++ b/db/migrate/20140424013231_create_alerts.rb
diff --git a/db/migrate/20140424005454_create_pms.rb b/db/migrate/20140424013232_create_pms.rb
index 93bb5c6..93bb5c6 100644
--- a/db/migrate/20140424005454_create_pms.rb
+++ b/db/migrate/20140424013232_create_pms.rb
diff --git a/db/migrate/20140424005457_create_tournaments.rb b/db/migrate/20140424013233_create_tournaments.rb
index 716871f..716871f 100644
--- a/db/migrate/20140424005457_create_tournaments.rb
+++ b/db/migrate/20140424013233_create_tournaments.rb
diff --git a/db/migrate/20140424005500_create_games.rb b/db/migrate/20140424013234_create_games.rb
index 46ed30d..46ed30d 100644
--- a/db/migrate/20140424005500_create_games.rb
+++ b/db/migrate/20140424013234_create_games.rb
diff --git a/db/migrate/20140424005503_create_users.rb b/db/migrate/20140424013236_create_users.rb
index 8032870..8032870 100644
--- a/db/migrate/20140424005503_create_users.rb
+++ b/db/migrate/20140424013236_create_users.rb
diff --git a/db/migrate/20140424005506_create_sessions.rb b/db/migrate/20140424013237_create_sessions.rb
index f667f1e..f667f1e 100644
--- a/db/migrate/20140424005506_create_sessions.rb
+++ b/db/migrate/20140424013237_create_sessions.rb
diff --git a/db/migrate/20140424005509_create_brackets.rb b/db/migrate/20140424013239_create_brackets.rb
index 8813bf2..8813bf2 100644
--- a/db/migrate/20140424005509_create_brackets.rb
+++ b/db/migrate/20140424013239_create_brackets.rb
diff --git a/db/migrate/20140424005512_create_game_settings.rb b/db/migrate/20140424013241_create_game_settings.rb
index 06fb72e..502b4fe 100644
--- a/db/migrate/20140424005512_create_game_settings.rb
+++ b/db/migrate/20140424013241_create_game_settings.rb
@@ -8,6 +8,7 @@ class CreateGameSettings < ActiveRecord::Migration
t.text :description
t.integer :display_order
t.text :default
+ t.references :parent, index: true
t.timestamps
end
diff --git a/db/migrate/20140424005515_create_tournament_settings.rb b/db/migrate/20140424013242_create_tournament_settings.rb
index e56697f..e56697f 100644
--- a/db/migrate/20140424005515_create_tournament_settings.rb
+++ b/db/migrate/20140424013242_create_tournament_settings.rb
diff --git a/db/migrate/20140424005519_create_tournament_stages.rb b/db/migrate/20140424013244_create_tournament_stages.rb
index e3668cb..e3668cb 100644
--- a/db/migrate/20140424005519_create_tournament_stages.rb
+++ b/db/migrate/20140424013244_create_tournament_stages.rb
diff --git a/db/migrate/20140424005523_create_statistics.rb b/db/migrate/20140424013245_create_statistics.rb
index cc2e97d..cc2e97d 100644
--- a/db/migrate/20140424005523_create_statistics.rb
+++ b/db/migrate/20140424013245_create_statistics.rb
diff --git a/db/migrate/20140424005527_create_remote_usernames.rb b/db/migrate/20140424013247_create_remote_usernames.rb
index e265985..e265985 100644
--- a/db/migrate/20140424005527_create_remote_usernames.rb
+++ b/db/migrate/20140424013247_create_remote_usernames.rb
diff --git a/db/migrate/20140424005530_create_bracket_matches.rb b/db/migrate/20140424013248_create_bracket_matches.rb
index 3323e31..3323e31 100644
--- a/db/migrate/20140424005530_create_bracket_matches.rb
+++ b/db/migrate/20140424013248_create_bracket_matches.rb
diff --git a/db/migrate/20140424005533_create_api_requests.rb b/db/migrate/20140424013250_create_api_requests.rb
index 544c330..544c330 100644
--- a/db/migrate/20140424005533_create_api_requests.rb
+++ b/db/migrate/20140424013250_create_api_requests.rb
diff --git a/db/migrate/20140424005536_create_tournament_players_join_table.rb b/db/migrate/20140424013251_create_tournament_players_join_table.rb
index be240e8..be240e8 100644
--- a/db/migrate/20140424005536_create_tournament_players_join_table.rb
+++ b/db/migrate/20140424013251_create_tournament_players_join_table.rb
diff --git a/db/migrate/20140424005539_create_tournament_hosts_join_table.rb b/db/migrate/20140424013253_create_tournament_hosts_join_table.rb
index 7521d89..7521d89 100644
--- a/db/migrate/20140424005539_create_tournament_hosts_join_table.rb
+++ b/db/migrate/20140424013253_create_tournament_hosts_join_table.rb
diff --git a/db/migrate/20140424005542_create_team_user_join_table.rb b/db/migrate/20140424013254_create_team_user_join_table.rb
index f3b57fc..f3b57fc 100644
--- a/db/migrate/20140424005542_create_team_user_join_table.rb
+++ b/db/migrate/20140424013254_create_team_user_join_table.rb
diff --git a/db/migrate/20140424005544_create_match_team_join_table.rb b/db/migrate/20140424013256_create_match_team_join_table.rb
index c2ed1b7..c2ed1b7 100644
--- a/db/migrate/20140424005544_create_match_team_join_table.rb
+++ b/db/migrate/20140424013256_create_match_team_join_table.rb
diff --git a/db/migrate/20140424005552_add_hidden_attrs_to_user.rb b/db/migrate/20140424013300_add_hidden_attrs_to_user.rb
index 9b5c505..9b5c505 100644
--- a/db/migrate/20140424005552_add_hidden_attrs_to_user.rb
+++ b/db/migrate/20140424013300_add_hidden_attrs_to_user.rb
diff --git a/db/schema.rb b/db/schema.rb
index c014e84..efe99b5 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: 20140424005552) do
+ActiveRecord::Schema.define(version: 20140424013300) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -81,11 +81,13 @@ ActiveRecord::Schema.define(version: 20140424005552) do
t.text "description"
t.integer "display_order"
t.text "default"
+ t.integer "parent_id"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "game_settings", ["game_id"], name: "index_game_settings_on_game_id"
+ add_index "game_settings", ["parent_id"], name: "index_game_settings_on_parent_id"
create_table "games", force: true do |t|
t.string "name"