Sha256: 84b41c0470351d1335396d85da2ad7cfdc70868dcdcc3e6e6dac431d2b82882c

Contents?: true

Size: 194 Bytes

Versions: 160

Compression:

Stored size: 194 Bytes

Contents

class AddOriginToExercise < ActiveRecord::Migration[4.2]
  def change
    add_reference :exercises, :origin, index: true
    add_column :exercises, :original_id, :integer, index: true
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-laboratory-5.5.0 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.4.0 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.3.0 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.2.1 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.2.0 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.1.1 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.1.0 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.12 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.11 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.10 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.9 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.8 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.7 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.6 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.5 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.4 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.3 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.2 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.1 db/migrate/20141221215035_add_origin_to_exercise.rb
mumuki-laboratory-5.0.0 db/migrate/20141221215035_add_origin_to_exercise.rb