Change data type of author.media_id to the proper integer type