Skip to content

Commit dea8c1c

Browse files
Federico CerattoFederico Ceratto
Federico Ceratto
authored and
Federico Ceratto
committed
oometa: 024 create btree index for counters table
1 parent c9739a0 commit dea8c1c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- Create counters btree index
2+
-- Formatted with pgformatter 3.3
3+
4+
BEGIN;
5+
SELECT
6+
_v.register_patch ( '024-create-counters-btree-idx', ARRAY['023-grant-select-counters-amsapi'], NULL);
7+
8+
CREATE INDEX measurement_start_day_btree_idx ON counters (measurement_start_day);
9+
10+
COMMIT;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
BEGIN;
3+
SELECT
4+
_v.unregister_patch ('024-create-counters-btree-idx');
5+
DROP INDEX measurement_start_time_btree_idx
6+
COMMIT;

0 commit comments

Comments
 (0)