aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-07-05 11:50:55 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-07-05 11:50:55 -0700
commit6787507883972bc3acb83c105fb753a8ca69fd1e (patch)
tree44fd8c8885327b2dee129f7ffa81930a9a806501 /activerecord/test/schema
parent5780b9618e76c3c9e16e40de5171516bc2918c26 (diff)
downloadrails-6787507883972bc3acb83c105fb753a8ca69fd1e.tar.gz
rails-6787507883972bc3acb83c105fb753a8ca69fd1e.tar.bz2
rails-6787507883972bc3acb83c105fb753a8ca69fd1e.zip
Re-enable foriegn key tests on MySQL
This reverts commit e84799d, e31104c and e6ca8e2
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb4
1 files changed, 1 insertions, 3 deletions
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