Fixed table clearup sql for migration

This commit is contained in:
Tom Bloor 2017-09-06 16:55:05 +01:00
parent ca9dbcd822
commit b90534babb
2 changed files with 6 additions and 4 deletions

View file

@ -7,14 +7,14 @@ DROP INDEX transactions_temp_idx_seller_id;
DROP INDEX session_tokens_temp_idx_user_id; DROP INDEX session_tokens_temp_idx_user_id;
DROP INDEX feedback_temp_idx_user_id; DROP INDEX feedback_temp_idx_user_id;
DROP TABLE customers_temp;
DROP TABLE organisations_temp;
DROP TABLE transactions_temp; DROP TABLE transactions_temp;
DROP TABLE session_tokens_temp; DROP TABLE session_tokens_temp;
DROP TABLE feedback_temp; DROP TABLE feedback_temp;
DROP TABLE users_temp;
DROP TABLE pending_organisations;
DROP TABLE pending_transactions; DROP TABLE pending_transactions;
DROP TABLE administrators; DROP TABLE administrators;
DROP TABLE pending_organisations;
DROP TABLE users_temp;
DROP TABLE customers_temp;
DROP TABLE organisations_temp;
COMMIT; COMMIT;

View file

@ -6,6 +6,8 @@ DROP TABLE customers_temp;
DROP TABLE organisations_temp; DROP TABLE organisations_temp;
DROP TABLE transactions_temp; DROP TABLE transactions_temp;
DROP TABLE users_temp; DROP TABLE users_temp;
DROP TABLE feedback_temp;
DROP TABLE session_tokens_temp;
DROP TABLE pending_organisations; DROP TABLE pending_organisations;
DROP TABLE pending_transactions; DROP TABLE pending_transactions;
DROP TABLE administrators; DROP TABLE administrators;