diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-01-24 22:03:00 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-01-24 22:25:12 +0530 |
commit | b334bc93c6c3a37f69de9a130d43b8f1fda67e3c (patch) | |
tree | 5ac6d8d0e0adc6bd341298fb403f95c3e4ce1531 /activerecord/test/schema | |
parent | 83d2c39d5eb8d82ba124b6725d08c8e90760c764 (diff) | |
download | rails-b334bc93c6c3a37f69de9a130d43b8f1fda67e3c.tar.gz rails-b334bc93c6c3a37f69de9a130d43b8f1fda67e3c.tar.bz2 rails-b334bc93c6c3a37f69de9a130d43b8f1fda67e3c.zip |
Add missing source_type if provided on hmt which belongs to an sti record
Fixes #23209
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 2e1e584156..fcc4eee79c 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -976,6 +976,8 @@ ActiveRecord::Schema.define do t.integer :employable_id t.string :employable_type t.integer :department_id + t.string :employable_list_type + t.integer :employable_list_id end create_table :recipes, force: true do |t| t.integer :chef_id |