Skip to content

Commit 62c8921

Browse files
authored
Merge pull request #1181 from nextcloud/backport-870-oracle-support
[stable10] Fix oracle support of external storage app
2 parents 5fae9e2 + b4a2f93 commit 62c8921

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/files_external/appinfo/database.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
<field>
145145
<name>value</name>
146146
<type>text</type>
147-
<notnull>true</notnull>
147+
<notnull>false</notnull>
148148
<length>4096</length>
149149
</field>
150150

apps/files_external/lib/Service/DBConfigService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function addMount($mountPoint, $storageBackend, $authBackend, $priority,
208208
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
209209
]);
210210
$query->execute();
211-
return (int)$this->connection->lastInsertId('external_mounts');
211+
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
212212
}
213213

214214
/**

0 commit comments

Comments
 (0)