aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-04-08 17:43:56 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-04-08 17:46:46 +0900
commitbf1494a1018a0bdc50dac4e87fdbf4b6b03083fa (patch)
tree7a84a832f964f4ace8944d6f094b5e52864d4df0 /activerecord/test/schema
parent57c7cbb1623c0e8befc58988a34bbb9896fd226a (diff)
downloadrails-bf1494a1018a0bdc50dac4e87fdbf4b6b03083fa.tar.gz
rails-bf1494a1018a0bdc50dac4e87fdbf4b6b03083fa.tar.bz2
rails-bf1494a1018a0bdc50dac4e87fdbf4b6b03083fa.zip
Fix GROUP BY with calculate longer name field to respect `table_alias_length`
Follow up of c9e4c848eeeb8999b778fa1ae52185ca5537fffe.
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 ead4de2a13..548671045b 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -19,6 +19,7 @@ ActiveRecord::Schema.define do
t.references :firm, index: false
t.string :firm_name
t.integer :credit_limit
+ t.integer "a" * max_identifier_length
end
create_table :admin_accounts, force: true do |t|