Add database view pieces