Add database merge.