database add to repo