14 lines
206 B
Ruby
14 lines
206 B
Ruby
class CreateMaps < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :maps do |t|
|
|
t.string :name, :null => false
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :maps
|
|
end
|
|
end
|