3scale/porta

View on GitHub
db/migrate/20090130094153_add_provider_account_id_to_accounts.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddProviderAccountIdToAccounts < ActiveRecord::Migration
  def self.up
    change_table :accounts do |t|
      t.integer :provider_account_id
      t.index  :provider_account_id
    end
  end

  def self.down
    change_table :accounts do |t|
      t.remove :provider_account_id
    end
  end
end