Add database in repository