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
Andrey Novikov e5a5cc4835 Add support for PostgreSQL interval datatype.
Add support for PostgreSQL `interval` data type with conversion to
`ActiveSupport::Duration` when loading records from database and
serialization to ISO 8601 formatted duration string on save.
Add support to define a column in migrations and get it in a schema dump.
Optional column precision is supported.

To use this in 6.1, you need to place the next string to your model file:

    attribute :duration, :interval

To keep old behavior until 6.2 is released:

    attribute :duration, :string
2020-09-30 14:54:55 -07:00
..
active_record/connection_adapters
activejob Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
assets Replace test Man with Human 2020-08-14 11:37:09 -04:00
cases Add support for PostgreSQL interval datatype. 2020-09-30 14:54:55 -07:00
fixtures Replace test Man with Human 2020-08-14 11:37:09 -04:00
migrations
models Revert "Refactor uncastable through reflection test to detect join key overrides" 2020-09-25 17:49:52 -04:00
schema Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
support Add Active Record Marshal forward compatibility tests 2020-07-02 14:11:51 +02:00
config.example.yml Remove more code for unsupported frontbase and ibm_db adapters 2020-04-12 11:45:28 +09:00
config.rb