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
Ryuta Kamizono e0366022f6 Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type
If type is given as a symbol, it will lookup a fresh type object via
`Type.lookup`, but if type is omitted, `type_for_attribute` will lookup
the database type which is already decorated by `define_attribute`.

To avoid the double decoration, skip extra decoration if its type is
already decorated.
2020-07-20 19:56:01 +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 This PR adds support to retrieve partitioned indexes when asking for 2020-02-06 07:36:44 +02:00
schema.rb Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type 2020-07-20 19:56:01 +09:00
sqlite_specific_schema.rb add mysql and sqlite3 default test 2018-09-01 22:09:01 -04:00