20171003151446_add_photo_id_to_passes.rb 156 B

1234567
  1. class AddPhotoIdToPasses < ActiveRecord::Migration[5.0]
  2. def change
  3. add_column :passes, :photo_id, :integer
  4. add_index :passes, :photo_id
  5. end
  6. end