MySQL Error Message
The statement is unsafe because it invokes a trigger or a
stored function that modifies a table that has a column with a
DEFAULT expression that may return a different value on the
replica.
Reason for the Error
ER_BINLOG_UNSAFE_DEFAULT_EXPRESSION_IN_SUBSTATEMENT
was added in 8.0.16.