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; + } +}