Sha256: 4ee5d742971b835a27904e465ed8a56477bb9d0603f605a6c64f47017eb3be2e

Contents?: true

Size: 179 Bytes

Versions: 14

Compression:

Stored size: 179 Bytes

Contents

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

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

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
ibm_db-3.0.4-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.4 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.3 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.2 test/migrations/rename/2_rename_things.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/rename/2_rename_things.rb
ibm_db-3.0.1 test/migrations/rename/2_rename_things.rb
ibm_db-3.0.1-x86-mingw32 test/migrations/rename/2_rename_things.rb
activejob-lock-0.0.1 rails/activerecord/test/migrations/rename/2_rename_things.rb
activerecord-nuodb-adapter-2.0.3 test/migrations/rename/2_rename_things.rb
activerecord-nuodb-adapter-2.0 test/migrations/rename/2_rename_things.rb
activerecord-nuodb-adapter-1.1 test/migrations/rename/2_rename_things.rb
activerecord-nuodb-adapter-1.0.4 test/migrations/rename/2_rename_things.rb