fix: Truncation of some tables that were wrongly preserved
This commit is contained in:
@@ -151,4 +151,9 @@ export async function resetAllUserActions(actionsRemaining, quotaResetAt) {
|
||||
quota_reset_at = $2`,
|
||||
[actionsRemaining, quotaResetAt]
|
||||
);
|
||||
}
|
||||
|
||||
/** Removes all rows from user_action_quota (used on world-seed wipeout). */
|
||||
export async function truncateUserActionQuota() {
|
||||
await usersPool.query(`TRUNCATE user_action_quota`);
|
||||
}
|
||||
Reference in New Issue
Block a user