Add database definition