Rails 6.1 adds support for PostgreSQL interval data type
28-Jan-2021 1517
PostgreSQL Interval Data Type allows us to store a duration/period of time in years, months, days, hours, minutes, seconds, etc. It also allows us to perform arithmetic operations on that interval.There are two input formats for interval data. These formats are used to write interval values.
Rails 6.1 adds support for PostgreSQL interval data type #ruby #rubydeveloper #rubyonrails #Rails #support #PostgreSQL #interval #type https://rubyonrails.ba/link/rails-6-1-adds-support-for-postgresql-interval-data-type