From c5960c71f92995ab9cae5e1f700268ce25c24c3a Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 31 Aug 2018 12:02:41 -0700 Subject: [PATCH] Splice in a patch to remove Phriction content rows with no document The unique key on may fail to apply if any content rows don't have a valid document. This is rare, but we have some old random garbage rows on "secure.phabricator.com" which prevent the next patch from applying. Just toss these rows, they're junk. --- .../sql/autopatches/20180828.phriction.07.c.documentuniq.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql diff --git a/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql b/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql new file mode 100644 index 0000000000..481935beed --- /dev/null +++ b/resources/sql/autopatches/20180828.phriction.07.c.documentuniq.sql @@ -0,0 +1 @@ +DELETE FROM phriction_content WHERE documentPHID = '';