diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-05-12 07:47:28 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-17 08:19:38 +0900 |
commit | b0923e4ca2dcf9058421e14873304603586396f6 (patch) | |
tree | 6c230f98e48e9f98ec5cbbc00cadc7f10546822e /activerecord/test/fixtures/cars.yml | |
parent | dc01a40eacfea12140378854b662e79a63dd874a (diff) | |
download | rails-b0923e4ca2dcf9058421e14873304603586396f6.tar.gz rails-b0923e4ca2dcf9058421e14873304603586396f6.tar.bz2 rails-b0923e4ca2dcf9058421e14873304603586396f6.zip |
Should work foreign key in test schema without `if supports_foreign_keys?` statement
If an adapter does not support foreign key feature, should be noop.
https://github.com/rails/rails/blob/v5.0.0.rc1/activerecord/test/cases/migration/foreign_key_test.rb#L288-L294
https://github.com/rails/rails/blob/v5.0.0.rc1/activerecord/test/cases/migration/references_foreign_key_test.rb#L208-L214
Diffstat (limited to 'activerecord/test/fixtures/cars.yml')
0 files changed, 0 insertions, 0 deletions