Merge pull request #870 from nextcloud/oc-missingprefixforlastinsertid
Fix oracle support of external storage app
This commit is contained in:
commit
9db189174c
|
@ -144,7 +144,7 @@
|
|||
<field>
|
||||
<name>value</name>
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
<notnull>false</notnull>
|
||||
<length>4096</length>
|
||||
</field>
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue