Sha256: 6ac50eabf20184b60ec60a61d9a10b19b21faf72a6d72e7d16516599946beb06

Contents?: true

Size: 177 Bytes

Versions: 6

Compression:

Stored size: 177 Bytes

Contents

class RemoveUserIdFromAccounts < ActiveRecord::Migration
  def up
    remove_column :accounts, :user_id
  end

  def down
    add_column :accounts, :user_id, :integer
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.5 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.4 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.3 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.2 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.1 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.0 db/migrate/20120530114709_remove_user_id_from_accounts.rb