diff --git a/resources/sql/autopatches/20180124.herald.01.repetition.sql b/resources/sql/autopatches/20180124.herald.01.repetition.sql index 3be9ec627d..31f1477e01 100644 --- a/resources/sql/autopatches/20180124.herald.01.repetition.sql +++ b/resources/sql/autopatches/20180124.herald.01.repetition.sql @@ -5,6 +5,10 @@ */ +UPDATE {$NAMESPACE}_herald.herald_rule + SET repetitionPolicy = '1' + WHERE repetitionPolicy IS NULL; + ALTER TABLE {$NAMESPACE}_herald.herald_rule CHANGE repetitionPolicy repetitionPolicy VARCHAR(32) NOT NULL COLLATE {$COLLATE_TEXT};