Skip to content

Commit

Permalink
Use TRUNCATE
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Mar 26, 2021
1 parent 8534971 commit 0cf0acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/endpoints/admin/delete-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export const meta = {
};

export default define(meta, async (ps) => {
await Logs.delete({});
await Logs.clear(); // TRUNCATE
});

0 comments on commit 0cf0acb

Please sign in to comment.