fixed Log model db mapping