This is not required. I have already found the problem and a workaround.
Deactivating and re-activating the plugin fix the problem, as it triggers the code:
$installer->addColumn('ahm_download_stats', 'version', 'varchar(255) NOT NULL');
$installer->addColumn('ahm_download_stats', 'agent', 'TEXT');
$installer->addColumn('ahm_download_stats', 'filename', 'TEXT');
On Installer::updateDB()
and this code creates the missing columns.
Anyway I would suggest you to investigate why this code didn’t run during the plugin upgrade process.
Thanks for indirectly pointing me out the solution ๐