class AddIsActualToPasses < ActiveRecord::Migration[5.0] def change add_column :passes, :is_actual, :boolean add_index :passes, :is_actual end end