diff --git a/appinfo/info.xml b/appinfo/info.xml index 0a437ecb3..94a504367 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,7 +10,7 @@ Folders can be configured from *Group folders* in the admin settings. After a folder is created, the admin can give access to the folder to one or more groups, control their write/sharing permissions and assign a quota for the folder. Note: Encrypting the contents of group folders is currently not supported.]]> - 17.0.8 + 17.0.9 agpl Robin Appelman GroupFolders diff --git a/lib/Migration/Version19000Date20241029123147.php b/lib/Migration/Version19000Date20241029123147.php new file mode 100644 index 000000000..00348cea0 --- /dev/null +++ b/lib/Migration/Version19000Date20241029123147.php @@ -0,0 +1,35 @@ +hasTable('group_folders')) { + $table = $schema->getTable('group_folders'); + if (!$table->hasIndex('gf_folders_folder_id')) { + $table->addUniqueIndex(['folder_id'], 'gf_folders_folder_id'); + return $schema; + } + } + + return null; + } +}