modify sql table structure for additional logging