metamaps--metamaps/db/migrate/20121026000731_create_mappings.rb

15 lines
285 B
Ruby
Raw Normal View History

class CreateMappings < ActiveRecord::Migration
def change
create_table :mappings do |t|
t.text :category
t.integer :xloc
t.integer :yloc
t.integer :item_id
t.integer :synapse_id
t.integer :map_id
t.integer :user_id
t.timestamps
end
end
end