Sha256: 848dd3b5b14d9eb815f84aa9f9c671b0785e39bf1becc382f4175643c472bef9

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/rename/2_rename_things.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/rename/2_rename_things.rb