From ba71ee60595f465e6e02f4b52a179ba8e47ebb9d Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Thu, 26 Feb 2015 12:06:28 +0100
Subject: [PATCH] Add default value for remote_id

Fixes SQLite migration with non-null column.
---
 apps/files_sharing/appinfo/database.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_sharing/appinfo/database.xml b/apps/files_sharing/appinfo/database.xml
index 38718ab0773..a70be408da4 100644
--- a/apps/files_sharing/appinfo/database.xml
+++ b/apps/files_sharing/appinfo/database.xml
@@ -25,6 +25,7 @@
 			<field>
 				<name>remote_id</name>
 				<type>integer</type>
+				<default>-1</default>
 				<notnull>true</notnull>
 				<length>4</length>
 			</field>
-- 
GitLab