14 lines
190 B
Ruby
14 lines
190 B
Ruby
|
class CreateMaps < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :maps do |t|
|
||
|
t.string :name
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :maps
|
||
|
end
|
||
|
end
|