We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78db85f commit 66d186fCopy full SHA for 66d186f
pragma-entities/migrations/2024-01-12-095822_add_realtime_agg/down.sql
@@ -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);
pragma-entities/migrations/2024-01-12-095822_add_realtime_agg/up.sql
+-- Your SQL goes here
+ALTER MATERIALIZED VIEW price_1_min_agg set (timescaledb.materialized_only = false);
+ALTER MATERIALIZED VIEW price_15_min_agg set (timescaledb.materialized_only = false);
+ALTER MATERIALIZED VIEW price_1_h_agg set (timescaledb.materialized_only = false);
0 commit comments