Sha256: fcb34d71bca87f1da5057bf3195a40f6394f03c294715d579ed91303c1211ef3

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class RenameProviderAccountIdAttribute < ActiveRecord::Migration
  def up
    change_table :tim_provider_images do |t|
      t.rename :provider_account_id, :factory_provider_account_id
    end
  end

  def down
    change_table :tim_provider_images do |t|
      t.rename :factory_provider_account_id, :provider_account_id
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tim-0.3.0 db/migrate/20121216131814_rename_provider_account_id_attribute.rb
tim-0.2.0 db/migrate/20121216131814_rename_provider_account_id_attribute.rb