From 21a2e441b493d87ca5ef83819299cf426c644bf7 Mon Sep 17 00:00:00 2001 From: rldhont Date: Wed, 4 Oct 2023 14:45:06 +0200 Subject: [PATCH 1/2] [SQL] Fix drop index --- cadastre/scripts/plugin/majic3_drop_indexes.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cadastre/scripts/plugin/majic3_drop_indexes.sql b/cadastre/scripts/plugin/majic3_drop_indexes.sql index 32f0d773..4ff1e261 100644 --- a/cadastre/scripts/plugin/majic3_drop_indexes.sql +++ b/cadastre/scripts/plugin/majic3_drop_indexes.sql @@ -14,6 +14,8 @@ DROP INDEX IF EXISTS idxan_sufexoneration; DROP INDEX IF EXISTS idxan_suftaxation; DROP INDEX IF EXISTS idxan_pev; DROP INDEX IF EXISTS idxan_pevexoneration; +DROP INDEX IF EXISTS idxan_pevexoneration_imposable; +DROP INDEX IF EXISTS idxan_pevexoneration_imposee; DROP INDEX IF EXISTS idxan_pevtaxation; DROP INDEX IF EXISTS idxan_pevprincipale; DROP INDEX IF EXISTS idxan_pevprofessionnelle; @@ -40,6 +42,10 @@ DROP INDEX IF EXISTS idx_local00_voie; DROP INDEX IF EXISTS idx_local10_local00; DROP INDEX IF EXISTS idx_local10_comptecommunal; DROP INDEX IF EXISTS idx_pevexoneration_pev; +DROP INDEX IF EXISTS idx_pevexoneration_imposable_pev; +DROP INDEX IF EXISTS idx_pevexoneration_imposee_pev; DROP INDEX IF EXISTS idx_pevtaxation_pev; DROP INDEX IF EXISTS idx_parcelle_voie; DROP INDEX IF EXISTS idx_parcelle_comptecommunal; + +DROP INDEX IF EXISTS parcelle_info_locaux_pk; From 483f0f28181a85ea8512f22122392fdb4f8439ca Mon Sep 17 00:00:00 2001 From: rldhont Date: Wed, 4 Oct 2023 14:49:08 +0200 Subject: [PATCH 2/2] [SQL] Remove unuse drop index --- cadastre/scripts/plugin/majic3_drop_indexes.sql | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cadastre/scripts/plugin/majic3_drop_indexes.sql b/cadastre/scripts/plugin/majic3_drop_indexes.sql index 4ff1e261..4fa259b3 100644 --- a/cadastre/scripts/plugin/majic3_drop_indexes.sql +++ b/cadastre/scripts/plugin/majic3_drop_indexes.sql @@ -4,16 +4,10 @@ DROP INDEX IF EXISTS idx_local10_invar; DROP INDEX IF EXISTS idx_local00_invar; DROP INDEX IF EXISTS idxan_proprietaire; DROP INDEX IF EXISTS idxan_voie; -DROP INDEX IF EXISTS idx_voie_codvoi; -DROP INDEX IF EXISTS idx_lots_comptecommunal; -DROP INDEX IF EXISTS idxan_comptecommunal; -DROP INDEX IF EXISTS idxan_lots; -DROP INDEX IF EXISTS idxan_parcelle; DROP INDEX IF EXISTS idxan_suf; DROP INDEX IF EXISTS idxan_sufexoneration; DROP INDEX IF EXISTS idxan_suftaxation; DROP INDEX IF EXISTS idxan_pev; -DROP INDEX IF EXISTS idxan_pevexoneration; DROP INDEX IF EXISTS idxan_pevexoneration_imposable; DROP INDEX IF EXISTS idxan_pevexoneration_imposee; DROP INDEX IF EXISTS idxan_pevtaxation; @@ -34,14 +28,12 @@ DROP INDEX IF EXISTS sufexoneration_suf_idx; DROP INDEX IF EXISTS idx_proprietaire_ccocom; DROP INDEX IF EXISTS idx_commune_ccocom; -DROP INDEX IF EXISTS idx_majic_commune_ccocom; DROP INDEX IF EXISTS idx_proprietaire_ccodro; DROP INDEX IF EXISTS idx_proprietaire_comptecommunal; DROP INDEX IF EXISTS idx_local00_parcelle; DROP INDEX IF EXISTS idx_local00_voie; DROP INDEX IF EXISTS idx_local10_local00; DROP INDEX IF EXISTS idx_local10_comptecommunal; -DROP INDEX IF EXISTS idx_pevexoneration_pev; DROP INDEX IF EXISTS idx_pevexoneration_imposable_pev; DROP INDEX IF EXISTS idx_pevexoneration_imposee_pev; DROP INDEX IF EXISTS idx_pevtaxation_pev;