Skip to content

Commit 66d186f

Browse files
committed
feat: enable realtime aggregation
1 parent 78db85f commit 66d186f

File tree

2 files changed

+8
-0
lines changed
  • pragma-entities/migrations/2024-01-12-095822_add_realtime_agg

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- This file should undo anything in `up.sql`
2+
ALTER MATERIALIZED VIEW price_1_min_agg set (timescaledb.materialized_only = true);
3+
ALTER MATERIALIZED VIEW price_15_min_agg set (timescaledb.materialized_only = true);
4+
ALTER MATERIALIZED VIEW price_1_h_agg set (timescaledb.materialized_only = true);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Your SQL goes here
2+
ALTER MATERIALIZED VIEW price_1_min_agg set (timescaledb.materialized_only = false);
3+
ALTER MATERIALIZED VIEW price_15_min_agg set (timescaledb.materialized_only = false);
4+
ALTER MATERIALIZED VIEW price_1_h_agg set (timescaledb.materialized_only = false);

0 commit comments

Comments
 (0)