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

15 lines
296 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 :topic_id
t.integer :synapse_id
t.integer :map_id
t.integer :user_id
t.timestamps
end
end
end