From f41f8851056019f932d1f87ef40252b9cc6c4d85 Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Mon, 17 Aug 2026 15:45:37 +0200 Subject: [PATCH] Keep source view column order upgrade-safe --- runtime/nextcloud/update-showcase-source-view.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/nextcloud/update-showcase-source-view.sql b/runtime/nextcloud/update-showcase-source-view.sql index e4f07b3..469a068 100644 --- a/runtime/nextcloud/update-showcase-source-view.sql +++ b/runtime/nextcloud/update-showcase-source-view.sql @@ -1,12 +1,12 @@ CREATE OR REPLACE VIEW piwigo_showcase_sources AS SELECT s.id AS share_id, - s.item_type, s.file_target AS display_name, st.id AS storage_id, f.path AS source_path, s.accepted, - s.permissions + s.permissions, + s.item_type AS item_type FROM oc_share AS s JOIN oc_filecache AS f ON f.fileid = s.file_source JOIN oc_storages AS st ON st.numeric_id = f.storage