diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml
index 3d3bff52ea126..61e7444afc505 100644
--- a/apps/dav/appinfo/info.xml
+++ b/apps/dav/appinfo/info.xml
@@ -5,7 +5,7 @@
WebDAV endpoint
AGPL
owncloud.org
- 1.4.1
+ 1.4.2
diff --git a/apps/dav/lib/Migration/Version1004001Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php
similarity index 98%
rename from apps/dav/lib/Migration/Version1004001Date20170825134824.php
rename to apps/dav/lib/Migration/Version1004Date20170825134824.php
index a2a85d1e5b0e6..b99f51322c562 100644
--- a/apps/dav/lib/Migration/Version1004001Date20170825134824.php
+++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php
@@ -26,7 +26,7 @@
use OCP\Migration\SimpleMigrationStep;
use OCP\Migration\IOutput;
-class Version1004001Date20170825134824 extends SimpleMigrationStep {
+class Version1004Date20170825134824 extends SimpleMigrationStep {
/**
* @param IOutput $output
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
@@ -44,7 +44,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
'autoincrement' => true,
'notnull' => true,
'length' => 11,
- 'unsgined' => true,
+ 'unsigned' => true,
]);
$table->addColumn('principaluri', 'string', [
'notnull' => false,
@@ -143,7 +143,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
'autoincrement' => true,
'notnull' => true,
'length' => 11,
- 'unsgined' => true,
+ 'unsigned' => true,
]);
$table->addColumn('calendardata', 'blob', [
'notnull' => false,
@@ -256,7 +256,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
'autoincrement' => true,
'notnull' => true,
'length' => 11,
- 'unsgiend' => true,
+ 'unsigned' => true,
]);
$table->addColumn('uri', 'string', [
'notnull' => false,
diff --git a/apps/dav/lib/Migration/Version1004Date20170919104507.php b/apps/dav/lib/Migration/Version1004Date20170919104507.php
new file mode 100644
index 0000000000000..3a0fb1ab9048d
--- /dev/null
+++ b/apps/dav/lib/Migration/Version1004Date20170919104507.php
@@ -0,0 +1,36 @@
+getTable('addressbooks');
+ $column = $table->getColumn('id');
+ $column->setUnsigned(true);
+
+ $table = $schema->getTable('calendarobjects');
+ $column = $table->getColumn('id');
+ $column->setUnsigned(true);
+
+ $table = $schema->getTable('calendarchanges');
+ $column = $table->getColumn('id');
+ $column->setUnsigned(true);
+
+ return $schema;
+ }
+
+}