Fixed index which needed renaming for upgrade

This commit is contained in:
Tom Bloor 2017-09-06 16:20:48 +01:00
parent d02f8f3931
commit 0eeae0d28d

View file

@ -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,