diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-12 03:37:43 +0900 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2017-08-11 14:37:43 -0400 |
commit | 8f5e8886179f7cbc162f546a7d73f55d9296e06c (patch) | |
tree | a10994a1230965757bb98c0ecd5d8b3723d2dd68 /activerecord/test/schema | |
parent | 67f1b51f8518577b1bb044a3f5da6279975f0461 (diff) | |
download | rails-8f5e8886179f7cbc162f546a7d73f55d9296e06c.tar.gz rails-8f5e8886179f7cbc162f546a7d73f55d9296e06c.tar.bz2 rails-8f5e8886179f7cbc162f546a7d73f55d9296e06c.zip |
Specify `table.name` only when `scope.table` and `table` are different (#29058)
Fixes #29045.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 05420a4240..47749c07d2 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -192,6 +192,7 @@ ActiveRecord::Schema.define do t.string :resource_type t.integer :developer_id t.datetime :deleted_at + t.integer :comments end create_table :companies, force: true do |t| |