sql file for the log table