diff options
author | Joas Schilling <coding@schilljs.com> | 2016-08-15 11:59:48 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-08-15 12:03:53 +0200 |
commit | b204af2f0f1354a11efad47d9a47535c8c77f729 (patch) | |
tree | fb28aabbf438edf321c0258bbd0e7a062a8779fa | |
parent | f3124b5052c0fd8647f816a91b6d250c2570279c (diff) | |
download | nextcloud-server-b204af2f0f1354a11efad47d9a47535c8c77f729.tar.gz nextcloud-server-b204af2f0f1354a11efad47d9a47535c8c77f729.zip |
Fix oracle support of external storage app
-rw-r--r-- | apps/files_external/appinfo/database.xml | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Service/DBConfigService.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/appinfo/database.xml b/apps/files_external/appinfo/database.xml index 54ee642ead6..e39144931a7 100644 --- a/apps/files_external/appinfo/database.xml +++ b/apps/files_external/appinfo/database.xml @@ -144,7 +144,7 @@ <field> <name>value</name> <type>text</type> - <notnull>true</notnull> + <notnull>false</notnull> <length>4096</length> </field> diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php index a94b73772e7..61cca9a0224 100644 --- a/apps/files_external/lib/Service/DBConfigService.php +++ b/apps/files_external/lib/Service/DBConfigService.php @@ -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'); } /** |