1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/schema
Austen Madden 3315cc76e0 Fix issue with expression index in insert_all
Based on the docs which state unique_by option of insert_all can use the
index name if desired, one would expect the method to work normally and
use the `unique_by` option to determine duplicates.

However, there's an issue where the insert_all expects a Set instead
of the string representing the index expression it is given. This causes
an error. Returning the string expression instead of attempting to
format it works perfectly though.
2020-06-03 10:10:01 -04:00
..
mysql2_specific_schema.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
oracle_specific_schema.rb Use squiggly heredoc to strip odd indentation in the executed SQL 2018-11-22 19:43:53 +09:00
postgresql_specific_schema.rb This PR adds support to retrieve partitioned indexes when asking for 2020-02-06 07:36:44 +02:00
schema.rb Fix issue with expression index in insert_all 2020-06-03 10:10:01 -04:00
sqlite_specific_schema.rb