Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.04 KB

CHANGELOG.md

File metadata and controls

31 lines (20 loc) · 1.04 KB

Changelog

Here you can find the changes to the project that may be relevant to you.

2025-02-18

  • Fixed the create_retention_policy call in the SchemaDumper, the param interval is now called drop_after. (#105) Thanks @steveshogun.

2025-01-06

  • For the create_hypertable method, the param compression_interval is now renamed to compress_after just to make it more consistent with the other parameters.
  • Change examples to use drop_table t, if_exists: true (#85) - Thanks @intermittentnrg
  • For the create_retention_policy method, the param interval is now renamed to drop_after

2024-12-21

Note that the gem is not overloaded automatically, you'll need to add the following line to your config/application.rb file:

ActiveSupport.on_load(:active_record) { extend Timescaledb::ActsAsHypertable }

Or create a hypertable model which inherits from ApplicationRecord or your custom base class:

class Hypertable < ApplicationRecord
  extend Timescaledb::ActsAsHypertable

  self.abstract_class = true
end