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
Ryota Egusa 941c5641b0 Allow delegated_type to be specified primary_key and foreign_key
Since delegated_type assumes that the foreign_key ends with `_id`,
`singular_id` defined by it does not work when the foreign_key does
not end with `id`. This commit fixes it by taking into account
`primary_key` and `foreign_key` in the options.
2020-12-18 15:06:16 +09: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 Allow delegated_type to be specified primary_key and foreign_key 2020-12-18 15:06:16 +09:00
schema.rb Ignore strict loading violations on instances loaded through fixtures 2020-12-10 15:23:14 -06:00
sqlite_specific_schema.rb add mysql and sqlite3 default test 2018-09-01 22:09:01 -04:00