Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@perrygeo @sposetti
9 lines (6 sloc) 205 Bytes
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
CREATE TABLE pi_obs(
time timestamptz,
metric text,
value numeric);
SELECT create_hypertable('pi_obs', 'time', chunk_time_interval=>'1 week');
You can’t perform that action at this time.