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

14 lines
280 B
Ruby
Raw Permalink Normal View History

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