miles views columns in db