20150330102818_create_badges.rb 297 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 class CreateBadges < ActiveRecord::Migration def change create_table :gamification_plugin_badges do |t| t.string :name t.integer :level t.string :description t.string :custom_fields t.references :owner, :polymorphic => true t.timestamps end end end