Sha256: dcf5f8e494e5c1200146faef3aafd033b0becd157bef7ec006b06eff5769ccef

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0 test/migrations/rename/2_rename_things.rb
ibm_db-5.1.0 test/migrations/rename/2_rename_things.rb
ibm_db-5.0.5 test/migrations/rename/2_rename_things.rb
ibm_db-5.0.4 test/migrations/rename/2_rename_things.rb
ibm_db-5.0.3 test/migrations/rename/2_rename_things.rb
ibm_db-5.0.2 test/migrations/rename/2_rename_things.rb
ibm_db-4.0.0-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-4.0.0 test/migrations/rename/2_rename_things.rb