Use fully qualified path for the pictures_grid materialized view
Use fully qualified path for the pictures_grid materialized view to avoid the relation "pictures" does not exist issue on some server.
Also use the new visibility attribute that was forgotten during the visibility migration