aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-12 03:37:43 +0900
committerRafael França <rafaelmfranca@gmail.com>2017-08-11 14:37:43 -0400
commit8f5e8886179f7cbc162f546a7d73f55d9296e06c (patch)
treea10994a1230965757bb98c0ecd5d8b3723d2dd68 /activerecord/test/schema
parent67f1b51f8518577b1bb044a3f5da6279975f0461 (diff)
downloadrails-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.rb1
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|