Use TRUNCATE (#7385)

This commit is contained in:
MeiMei 2021-03-23 15:22:31 +09:00 committed by GitHub
parent cd4680b422
commit 94fd5485b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
await Logs.delete({});
await Logs.clear(); // TRUNCATE
});