Browse Source

Merge pull request #870 from nextcloud/oc-missingprefixforlastinsertid

Fix oracle support of external storage app
tags/v11.0RC2
Björn Schießle 7 years ago
parent
commit
9db189174c

+ 1
- 1
apps/files_external/appinfo/database.xml View File

@@ -144,7 +144,7 @@
<field>
<name>value</name>
<type>text</type>
<notnull>true</notnull>
<notnull>false</notnull>
<length>4096</length>
</field>


+ 1
- 1
apps/files_external/lib/Service/DBConfigService.php View 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');
}

/**

Loading…
Cancel
Save