diff --git a/appinfo/info.xml b/appinfo/info.xml
index 2a8504e7c68..07228f7ea10 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -11,7 +11,7 @@
- **๐พ Open format:** Files are saved as [Markdown](https://en.wikipedia.org/wiki/Markdown), so you can edit them from any other text app too.
- **โ Strong foundation:** We use [๐ tiptap](https://tiptap.scrumpy.io) which is based on [๐ฆ ProseMirror](https://prosemirror.net) โ huge thanks to them!
]]>
- 3.5.0
+ 3.5.1
agpl
Julius Hรคrtl
Text
diff --git a/lib/Migration/Version010000Date20190617184535.php b/lib/Migration/Version010000Date20190617184535.php
index d71bc9d0eca..aaafc11820b 100644
--- a/lib/Migration/Version010000Date20190617184535.php
+++ b/lib/Migration/Version010000Date20190617184535.php
@@ -101,6 +101,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
]);
$table->setPrimaryKey(['id']);
$table->addIndex(['token'], 'rd_session_token_idx');
+ $table->addIndex(['last_contact'], 'ts_lastcontact');
}
if (!$schema->hasTable('text_steps')) {
diff --git a/lib/Migration/Version030501Date20220202101853.php b/lib/Migration/Version030501Date20220202101853.php
new file mode 100644
index 00000000000..dcdede67e41
--- /dev/null
+++ b/lib/Migration/Version030501Date20220202101853.php
@@ -0,0 +1,35 @@
+getTable('text_sessions');
+ if (!$table->hasIndex('ts_lastcontact')) {
+ $table->addIndex(['last_contact'], 'ts_lastcontact');
+ return $schema;
+ }
+
+ return null;
+ }
+}