Sha256: 2940f025ae67e73e6ccf2328ea9bb3b6b634191c0e8ed4854bb9e5e170822b8e

Contents?: true

Size: 190 Bytes

Versions: 35

Compression:

Stored size: 190 Bytes

Contents

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

  def down
    add_column :accounts, :user_id, :binary, :limit => 16
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.11 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.10 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.9 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.8 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.7 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.6 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.5 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.4 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.3 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.2 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.1 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.32 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.31 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.30 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.29 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.28 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.27 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.26 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.25 db/migrate/20120530114709_remove_user_id_from_accounts.rb
iugusdk-1.0.0.alpha.24 db/migrate/20120530114709_remove_user_id_from_accounts.rb