View Source Timescale.Migration (Timescale v0.0.1-alpha.2)
This module provides helpers for installing TimescaleDB, as well as creating, modifying, and configuring Timescale resources.
Link to this section Summary
Functions
Adds a compression policy to a hypertable using the add_compression_policy function
Creates a new hypertable in an Ecto Migration.
Adds TimescaleDB as a Postgres extension
Drops TimescaleDB as a Postgres extension
Enables compression on an existing hypertable
Link to this section Functions
Adds a compression policy to a hypertable using the add_compression_policy function
Creates a new hypertable in an Ecto Migration.
create_hypertable(:conditions, :time)
Adds TimescaleDB as a Postgres extension
Drops TimescaleDB as a Postgres extension
Enables compression on an existing hypertable
See the ALTER TABLE (Compression) documentation