Sha256: cd3cf8b0cbfa412ddd57c12516cf9047ec8e998fc4e874459dd91dc14211b536

Contents?: true

Size: 198 Bytes

Versions: 6

Compression:

Stored size: 198 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

6 entries across 6 versions & 1 rubygems

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