metamaps--metamaps/db/migrate/20140517115027_create_metacode_sets.rb

13 lines
280 B
Ruby

class CreateMetacodeSets < ActiveRecord::Migration
def change
create_table :metacode_sets do |t|
t.string :name
t.text :desc
t.references :user
t.boolean :mapperContributed
t.timestamps
end
add_index :metacode_sets, :user_id
end
end