Install DB schema files using cmake

fixes #6881