Sha256: b859e99fa49b2450431bfcac90440bc90e6f0d4054dff0a6626dbb770b84b58a

Contents?: true

Size: 220 Bytes

Versions: 6

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

class RenameThings < ActiveRecord::Migration::Current
  def self.up
    rename_table "things", "awesome_things"
  end

  def self.down
    rename_table "awesome_things", "things"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/rename/2_rename_things.rb
ibm_db-5.4.1 test/migrations/rename/2_rename_things.rb
ibm_db-5.4.0 test/migrations/rename/2_rename_things.rb
ibm_db-5.3.2 test/migrations/rename/2_rename_things.rb
ibm_db-5.3.1 test/migrations/rename/2_rename_things.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/rename/2_rename_things.rb