class CreateRewards < ActiveRecord::Migration def change create_table :rewards do |t| t.references :mission, index: true t.references :mission_agents, index: true t.string :title t.text :description t.string :img t.timestamps end end end