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