When I tried to alter the table it showed the error:
ERROR 1067 (42000): Invalid default value for \'created_at\'
I googled for this error
I came across the same error while trying to install a third party database. I tried the solution proposed unsuccessfully i.e. SET sql_mode = '';
SET sql_mode = '';
Then I tried the command below which worked allowing the database to be installed SET GLOBAL sql_mode = '';
SET GLOBAL sql_mode = '';