last commit before database