Sha256: 4bb2d89980b68fbb5671904ebaae693bb5ea02d3e08ebdffa7341e947d74c15e

Contents?: true

Size: 208 Bytes

Versions: 11

Compression:

Stored size: 208 Bytes

Contents

# -*- coding: utf-8 -*-
class RenameProducts < ActiveRecord::Migration
  def self.up
    rename_table "products", "product_names"
  end

  def self.down
    rename_table "product_names", "products"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
schema_comments-0.2.0 spec/migrations/valid/002_rename_products.rb
schema_comments-0.2.0.alpha5 spec/migrations/valid/002_rename_products.rb
schema_comments-0.2.0.alpha4 spec/migrations/valid/002_rename_products.rb
schema_comments-0.2.0.alpha3 spec/migrations/valid/002_rename_products.rb
schema_comments-0.2.0.alpha2 spec/migrations/valid/002_rename_products.rb
schema_comments-0.2.0.alpha1 spec/migrations/valid/002_rename_products.rb
schema_comments-0.1.4 spec/migrations/valid/002_rename_products.rb
schema_comments-0.1.3 spec/migrations/valid/002_rename_products.rb
schema_comments-0.1.2 spec/migrations/valid/002_rename_products.rb
schema_comments-0.1.1 spec/migrations/valid/002_rename_products.rb
schema_comments-0.1.0 spec/migrations/valid/002_rename_products.rb