fix for postgresql, the assets_doi_logs.action should be an integer

was string originally, but the flag changed to an int. Mysql was accepting this, but a conversion error occured
with postgresql. OPSK-41