Added (layer_id,point_path_id) unique constraint to layer_points