metamaps--metamaps/db/migrate/20121023231434_create_maps.rb

13 lines
228 B
Ruby
Raw Normal View History

class CreateMaps < ActiveRecord::Migration
def change
create_table :maps do |t|
t.text :name
t.boolean :arranged
t.text :desc
t.text :permission
t.integer :user_id
t.timestamps
end
end
end