moved commits from main table and added commitId field