Sha256: 94834760b48f00401109d2922413f8b2c9618358be84f0cf6654f5619cdb8df1

Contents?: true

Size: 145 Bytes

Versions: 160

Compression:

Stored size: 145 Bytes

Contents

class IncrementLanguageId < ActiveRecord::Migration[4.2]
  def change
    execute 'update exercises set language_id = language_id + 1'
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-domain-9.23.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.22.1 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.22.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.21.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.20.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.19.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.18.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.17.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.16.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.15.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.14.1 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.14.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.13.1 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.13.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.12.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.11.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.10.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.9.0 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.8.1 db/migrate/20141231234940_increment_language_id.rb
mumuki-domain-9.8.0 db/migrate/20141231234940_increment_language_id.rb