From 0eeae0d28dff17605e5ae33729a69df3efbf2b86 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Wed, 6 Sep 2017 16:20:48 +0100 Subject: [PATCH] Fixed index which needed renaming for upgrade --- share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql b/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql index f6c5187..36fd185 100644 --- a/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql +++ b/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql @@ -14,6 +14,9 @@ ALTER TABLE organisations RENAME TO organisations_temp; ALTER TABLE transactions RENAME TO transactions_temp; ALTER TABLE users RENAME TO users_temp; +ALTER INDEX transactions_idx_buyer_id RENAME TO transactions_temp_idx_buyer_id; +ALTER INDEX transactions_idx_seller_id RENAME TO transactions_temp_idx_seller_id; + CREATE TABLE "customers" ( "id" serial NOT NULL, "entity_id" integer NOT NULL,