diff --git a/appinfo/database.xml b/appinfo/database.xml
index b720f3f0..a635ac62 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -302,4 +302,59 @@
 			</index>
 		</declaration>
 	</table>
+	<table>
+		<name>*dbprefix*passman_revisions</name>
+		<declaration>
+			<field>
+				<name>id</name>
+				<type>integer</type>
+				<notnull>true</notnull>
+				<autoincrement>true</autoincrement>
+				<unsigned>true</unsigned>
+				<primary>true</primary>
+				<length>8</length>
+			</field>
+			<field>
+				<name>guid</name>
+				<type>text</type>
+				<notnull>true</notnull>
+				<length>64</length>
+			</field>
+			<field>
+				<name>credential_id</name>
+				<type>integer</type>
+				<notnull>true</notnull>
+				<length>8</length>
+			</field>
+			<field>
+				<name>user_id</name>
+				<type>text</type>
+				<notnull>true</notnull>
+				<length>64</length>
+			</field>
+			<field>
+				<name>credential_data</name>
+				<type>clob</type>
+				<notnull>false</notnull>
+			</field>
+			<index>
+				<name>passman_revision_id_index</name>
+				<field>
+					<name>id</name>
+				</field>
+			</index>
+			<index>
+				<name>passman_revision_user_id_index</name>
+				<field>
+					<name>user_id</name>
+				</field>
+			</index>
+			<index>
+				<name>passman_revision_credential_id_index</name>
+				<field>
+					<name>credential_id</name>
+				</field>
+			</index>
+		</declaration>
+	</table>
 </database>
\ No newline at end of file
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 732b27cc..362e572d 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -5,7 +5,7 @@
     <description>A password manager for Nextcloud</description>
     <licence>AGPL</licence>
     <author>Sander Brand</author>
-    <version>1.0.2.4</version>
+    <version>1.0.2.5</version>
     <namespace>Passman</namespace>
     <category>other</category>
     <website>https://github.com/nextcloud/passman/</website>