This commit is contained in:
lexx committed 2023-10-15 23:40:34 +03:00
1 parent 8d3e8373c0
commit 5ebf3311e4
15 files changed
+393 -240

No files matched your search

+9
View File
@@ -226,6 +226,15 @@ readonly class RecordService
$this->recordRepo->deleteMany($recordsIds);
}
public function emptyTrash(
string $schemaName,
): void
{
$schema = $this->channelService->getSchema($schemaName)->get();
$this->recordRepo->deleteTrashedBySchema($schemaName);
}
/**
* @throws LucentException