How to resolve the «TIMESTAMP with implicit DEFAULT value is deprecated» MySQL warning?

[mysqld]
explicit_defaults_for_timestamp = 1

stackoverflow.com/a/15896461