Rails 6.1 adds support for PostgreSQL interval data type

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 #type https://rubyonrails.ba/single/rails-6-1-adds-support-for-postgresql-interval-data-type

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles