From 9d550fa00f37741310e5f3e9f65a5312885bb16c Mon Sep 17 00:00:00 2001 From: cst <cst@nilu.no> Date: Wed, 5 Jun 2024 23:44:06 +0200 Subject: [PATCH] bug: duplicate index name --- sql/pre_aggregates.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/pre_aggregates.sql b/sql/pre_aggregates.sql index 912c3ff..11fc3af 100644 --- a/sql/pre_aggregates.sql +++ b/sql/pre_aggregates.sql @@ -1,6 +1,6 @@ ------------------------------------------------------------------------------------ -create index idx_obs_spoid_day on public.observations (sampling_point_id, date_trunc('year'::text, from_time)); +create index idx_obs_spoid_year on public.observations (sampling_point_id, date_trunc('year'::text, from_time)); create index idx_obs_spoid_day on public.observations (sampling_point_id, date_trunc('day'::text, from_time)); VACUUM FULL ANALYZE observations; -- GitLab