[GH-ISSUE #67] D1 满了,怎么保留表结构,只删除表内数据呢? #27

Closed
opened 2026-02-26 20:35:11 +03:00 by kerem · 2 comments
Owner

Originally created by @goxofy on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/67

500MB 已满

Originally created by @goxofy on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/67 500MB 已满
kerem closed this issue 2026-02-26 20:35:11 +03:00
Author
Owner

@dreamhunter2333 commented on GitHub (Feb 21, 2024):

wrangler d1 execute dev --command="delete from xxx"
执行 sql 即可,比如上面的

<!-- gh-comment-id:1955778060 --> @dreamhunter2333 commented on GitHub (Feb 21, 2024): wrangler d1 execute dev --command="delete from xxx" 执行 sql 即可,比如上面的
Author
Owner

@goxofy commented on GitHub (Feb 21, 2024):

OK,谢谢

<!-- gh-comment-id:1955779681 --> @goxofy commented on GitHub (Feb 21, 2024): OK,谢谢
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#27
No description provided.