diff --git a/appinfo/info.xml b/appinfo/info.xml index 2961105439d..6c5af246374 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -18,7 +18,7 @@ * 🌉 **Sync with other chat solutions** With [Matterbridge](https://github.com/42wim/matterbridge/) being integrated in Talk, you can easily sync a lot of other chat solutions to Nextcloud Talk and vice-versa. ]]> - 20.0.0-dev.4 + 20.0.0-dev.5 agpl Daniel Calviño Sánchez @@ -31,6 +31,7 @@ Marcel Hibbe Marcel Müller Sowjanya Kota + Shankar Kalidindi Talk diff --git a/lib/Migration/Version18000Date20231024141627.php b/lib/Migration/Version18000Date20231024141627.php index d4b70a6072f..7e5bf2aa8e0 100644 --- a/lib/Migration/Version18000Date20231024141627.php +++ b/lib/Migration/Version18000Date20231024141627.php @@ -68,7 +68,6 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table->addIndex(['local_room_id'], 'talk_fedinv_lri'); $table->addUniqueIndex(['remote_server_url', 'remote_attendee_id'], 'talk_fedinv_remote'); - return $schema; } return null; diff --git a/lib/Migration/Version20000Date20240716190335.php b/lib/Migration/Version20000Date20240716190335.php new file mode 100644 index 00000000000..82fbc302fc8 --- /dev/null +++ b/lib/Migration/Version20000Date20240716190335.php @@ -0,0 +1,36 @@ +getTable('talk_invitations'); + if (!$table->hasIndex('talk_user_state')) { + $table->addIndex(['user_id', 'state'], 'talk_user_state'); + return $schema; + } + + return null; + } +}