Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Catch up on SQL migrations (bug 999119)
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed May 30, 2014
1 parent 623b8af commit 0e2ef4b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions migrations/791-amo-table-removals-pt3.sql
@@ -0,0 +1,18 @@
-- See: https://bugzilla.mozilla.org/show_bug.cgi?id=1009930
DROP TABLE IF EXISTS `users_blacklistedusername`;
DROP TABLE IF EXISTS `users_blacklistedemaildomain`;
DROP TABLE IF EXISTS `users_blacklistedpassword`;
DROP TABLE IF EXISTS `users_history`;

-- See: https://bugzilla.mozilla.org/show_bug.cgi?id=996247
-- Warning: This will be slow.
ALTER TABLE `stats_contributions`
DROP FOREIGN KEY `client_data_id_refs_id_c8ef1728`;
ALTER TABLE `stats_contributions` DROP COLUMN `client_data_id`;
ALTER TABLE `reviews`
DROP FOREIGN KEY `client_data_id_refs_id_d160c5ba`;
ALTER TABLE `reviews` DROP COLUMN `client_data_id`;
ALTER TABLE `users_install`
DROP FOREIGN KEY `client_data_id_refs_id_15062d7f`;
ALTER TABLE `users_install` DROP COLUMN `client_data_id`;
DROP TABLE IF EXISTS `client_data`;

0 comments on commit 0e2ef4b

Please sign in to comment.