mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 06:23:09 +02:00
Use TRUNCATE (#7385)
This commit is contained in:
parent
cd4680b422
commit
94fd5485b6
1 changed files with 1 additions and 1 deletions
|
@ -14,5 +14,5 @@ export const meta = {
|
|||
};
|
||||
|
||||
export default define(meta, async (ps) => {
|
||||
await Logs.delete({});
|
||||
await Logs.clear(); // TRUNCATE
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue