2012-10-24 06:47:08 +00:00
|
|
|
class CreateMaps < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :maps do |t|
|
2012-10-26 10:04:52 +00:00
|
|
|
t.text :name
|
2012-12-03 23:40:14 +00:00
|
|
|
t.boolean :arranged
|
2012-10-26 10:04:52 +00:00
|
|
|
t.text :desc
|
|
|
|
t.text :permission
|
|
|
|
t.integer :user_id
|
2012-10-24 06:47:08 +00:00
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|