2012-10-26 10:04:52 +00:00
|
|
|
class CreateMappings < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :mappings do |t|
|
|
|
|
t.text :category
|
2013-01-01 22:45:35 +00:00
|
|
|
t.integer :xloc
|
2012-10-26 10:04:52 +00:00
|
|
|
t.integer :yloc
|
2013-01-01 22:45:35 +00:00
|
|
|
t.integer :topic_id
|
|
|
|
t.integer :synapse_id
|
|
|
|
t.integer :map_id
|
|
|
|
t.integer :user_id
|
2012-10-26 10:04:52 +00:00
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|