]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix oracle support of external storage app 870/head
authorJoas Schilling <coding@schilljs.com>
Mon, 15 Aug 2016 09:59:48 +0000 (11:59 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 15 Aug 2016 10:03:53 +0000 (12:03 +0200)
apps/files_external/appinfo/database.xml
apps/files_external/lib/Service/DBConfigService.php

index 54ee642ead652abbc95ac0ac986cb681b19f3d08..e39144931a77b1aaffd5c8b784be1bf98a8adfb5 100644 (file)
                        <field>
                                <name>value</name>
                                <type>text</type>
-                               <notnull>true</notnull>
+                               <notnull>false</notnull>
                                <length>4096</length>
                        </field>
 
index a94b73772e76f86e602df7d1cc1cca35cb2416ae..61cca9a0224b7028e2655841f29e0aaef18ea840 100644 (file)
@@ -208,7 +208,7 @@ class DBConfigService {
                                'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
                        ]);
                $query->execute();
-               return (int)$this->connection->lastInsertId('external_mounts');
+               return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
        }
 
        /**