@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix Herald repetition policy migration for NULL

When we change a nullable column to a non-nullable column, we can get a
data truncation error if any value was "NULL".

This is exceptionally unusual, but our two very oldest Herald rules have
a "NULL" policy on `secure`.

+4
+4
resources/sql/autopatches/20180124.herald.01.repetition.sql
··· 5 5 6 6 */ 7 7 8 + UPDATE {$NAMESPACE}_herald.herald_rule 9 + SET repetitionPolicy = '1' 10 + WHERE repetitionPolicy IS NULL; 11 + 8 12 ALTER TABLE {$NAMESPACE}_herald.herald_rule 9 13 CHANGE repetitionPolicy 10 14 repetitionPolicy VARCHAR(32) NOT NULL COLLATE {$COLLATE_TEXT};