diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2019-07-24 14:44:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 14:44:53 -0400 |
commit | 0206d9cb7c823fefbf3dfc1d1672be4628986c4e (patch) | |
tree | 070bdb208f7ddcba7a3ed9006c7ab65d22221390 /activerecord/test/schema/schema.rb | |
parent | 0744e15a35446865c6eced891a1356ccff4513d9 (diff) | |
parent | 6ea80b6103de9ef76dca9d51149dd94bec846642 (diff) | |
download | rails-0206d9cb7c823fefbf3dfc1d1672be4628986c4e.tar.gz rails-0206d9cb7c823fefbf3dfc1d1672be4628986c4e.tar.bz2 rails-0206d9cb7c823fefbf3dfc1d1672be4628986c4e.zip |
Merge pull request #36671 from wjessop/do_not_validate_non_dirty_association_targets
Don't validate non dirty association targets
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r-- | activerecord/test/schema/schema.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index b6c0ae0de2..dd0ff759b6 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -563,6 +563,10 @@ ActiveRecord::Schema.define do t.string :type end + create_table :mice, force: true do |t| + t.string :name + end + create_table :movies, force: true, id: false do |t| t.primary_key :movieid t.string :name @@ -843,6 +847,10 @@ ActiveRecord::Schema.define do end end + create_table :squeaks, force: true do |t| + t.integer :mouse_id + end + create_table :prisoners, force: true do |t| t.belongs_to :ship end |