A bit cleaner way of selecting map pairs, bunch of other cleanup crap generally characterized as removing generated Rails code

This commit is contained in:
Dan Buch
2012-03-07 23:43:32 -05:00
parent b31926f16f
commit d7f0f6c964
7 changed files with 54 additions and 147 deletions

View File

@@ -12,12 +12,14 @@
ActiveRecord::Schema.define(:version => 20120304164625) do
create_table "maps", :force => true do |t|
t.string "name", :null => false
t.string "name", :null => false
t.integer "points", :default => 0
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "maps", ["name"], :name => "index_maps_on_name"
add_index "maps", ["points"], :name => "index_maps_on_points"
create_table "mashes", :force => true do |t|
t.string "requester", :null => false
@@ -28,6 +30,7 @@ ActiveRecord::Schema.define(:version => 20120304164625) do
t.datetime "updated_at"
end
add_index "mashes", ["requester"], :name => "index_mashes_on_requester"
add_index "mashes", ["winner"], :name => "index_mashes_on_winner"
end