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>
|
<field>
|
||||||
<name>value</name>
|
<name>value</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
<notnull>false</notnull>
|
||||||
<length>4096</length>
|
<length>4096</length>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
|
|
|
@ -208,7 +208,7 @@ class DBConfigService {
|
||||||
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
||||||
]);
|
]);
|
||||||
$query->execute();
|
$query->execute();
|
||||||
return (int)$this->connection->lastInsertId('external_mounts');
|
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue