diff --git a/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql b/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql
index 481935beed..d086cc6141 100644
--- a/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql
+++ b/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql
@@ -1 +1 @@
-DELETE FROM phriction_content WHERE documentPHID = '';
+DELETE FROM {$NAMESPACE}_phriction.phriction_content WHERE documentPHID = '';