From 6787507883972bc3acb83c105fb753a8ca69fd1e Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Sat, 5 Jul 2014 11:50:55 -0700 Subject: Re-enable foriegn key tests on MySQL This reverts commit e84799d, e31104c and e6ca8e2 --- activerecord/test/schema/schema.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'activerecord/test/schema') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 7dbb29d9b0..932c9ba5d9 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -84,9 +84,7 @@ ActiveRecord::Schema.define do create_table :author_addresses, force: true do |t| end - unless current_adapter?(:MysqlAdapter, :Mysql2Adapter) - add_foreign_key :authors, :author_addresses - end + add_foreign_key :authors, :author_addresses create_table :author_favorites, force: true do |t| t.column :author_id, :integer -- cgit v1.2.3