users_keys is a view in production..
authorMagnus Hagander <magnus@hagander.net>
Wed, 7 Oct 2015 13:54:25 +0000 (15:54 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 7 Oct 2015 13:54:25 +0000 (15:54 +0200)
tools/scrub/scrub.sql

index d92ac33285b1fa587b26749703a3b54cc2c1667e..d34046ffe33da01241566afaa04a6903c44a0192 100644 (file)
@@ -55,7 +55,7 @@ UPDATE profserv_professionalservice SET contact='scrubbedcontact';
 TRUNCATE TABLE survey_surveylock;
 
 -- We still have a lot of migration data, so lose it.
-DROP TABLE IF EXISTS users_keys;
+DROP VIEW IF EXISTS users_keys;
 DROP TABLE IF EXISTS users_old;
 
 \echo NOTE! Transaction has not been committed. Verify manually and then commit!