You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
271 B
17 lines
271 B
13 years ago
|
class CreateMashes < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :mashes do |t|
|
||
|
t.string :requester
|
||
|
t.integer :map_a
|
||
|
t.integer :map_b
|
||
|
t.integer :winner
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :mashes
|
||
|
end
|
||
|
end
|