Starting to fill in tournament ranking bits

This commit is contained in:
Dan Buch
2012-03-07 21:22:35 -05:00
parent a1aa03451f
commit b31926f16f
5 changed files with 64 additions and 3 deletions

View File

@@ -5,9 +5,12 @@ class CreateMaps < ActiveRecord::Migration
t.timestamps
end
add_index :maps, :name
end
def self.down
drop_table :maps
remove_index :maps, :name
end
end

View File

@@ -8,9 +8,12 @@ class CreateMashes < ActiveRecord::Migration
t.timestamps
end
add_index :mashes, :winner
end
def self.down
drop_table :mashes
remove_index :mashes, :winner
end
end