This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Foodloop-Server/share/ddl/PostgreSQL/upgrade/5-6/003-remove-temps.sql

21 lines
503 B
MySQL
Raw Permalink Normal View History

-- Remove temporary tables created during migration
BEGIN;
DROP INDEX transactions_temp_idx_buyer_id;
DROP INDEX transactions_temp_idx_seller_id;
DROP INDEX session_tokens_temp_idx_user_id;
DROP INDEX feedback_temp_idx_user_id;
DROP TABLE transactions_temp;
DROP TABLE session_tokens_temp;
DROP TABLE feedback_temp;
DROP TABLE pending_transactions;
DROP TABLE administrators;
2017-09-06 15:55:05 +00:00
DROP TABLE pending_organisations;
DROP TABLE users_temp;
DROP TABLE customers_temp;
DROP TABLE organisations_temp;
COMMIT;