modifs.mineures sans commentaires
This commit is contained in:
parent
0e9be5f221
commit
91beea9c29
@ -53,9 +53,9 @@ class SqliteStorage extends CapacitorStorage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function _addToChannelsSql(CapacitorChannel $channel): array {
|
protected function _addToChannelsSql(CapacitorChannel $channel): array {
|
||||||
return cl::merge(parent::_addToChannelsSql($channel), [
|
$sql = parent::_addToChannelsSql($channel);
|
||||||
"suffix" => "on conflict ignore",
|
$sql[0] = "insert or ignore";
|
||||||
]);
|
return $sql;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _afterCreate(CapacitorChannel $channel): void {
|
protected function _afterCreate(CapacitorChannel $channel): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user