]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add default value for remote_id
authorVincent Petry <pvince81@owncloud.com>
Thu, 26 Feb 2015 11:06:28 +0000 (12:06 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 26 Feb 2015 11:09:21 +0000 (12:09 +0100)
Fixes SQLite migration with non-null column.

apps/files_sharing/appinfo/database.xml

index 38718ab0773f267282973b76022375e473b77bfe..a70be408da4fb35e3e66bd63863b2ea02a88e07b 100644 (file)
@@ -25,6 +25,7 @@
                        <field>
                                <name>remote_id</name>
                                <type>integer</type>
+                               <default>-1</default>
                                <notnull>true</notnull>
                                <length>4</length>
                        </field>