mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 14:25:50 +03:00
[PR #658] [MERGED] feature: support init db in admin portal #682
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#682
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/658
Author: @dreamhunter2333
Created: 5/20/2025
Status: ✅ Merged
Merged: 5/20/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
2d8254cfeature: support init db in admin portal📊 Changes
15 files changed (+1899 additions, -1811 deletions)
View changed files
📝
frontend/package.json(+3 -3)📝
frontend/pnpm-lock.yaml(+310 -567)📝
frontend/src/views/Admin.vue(+9 -0)➕
frontend/src/views/admin/DatabaseManager.vue(+126 -0)📝
pages/package.json(+1 -1)📝
vitepress-docs/docs/zh/guide/actions/d1.md(+14 -0)📝
vitepress-docs/docs/zh/guide/ui/d1.md(+5 -1)📝
vitepress-docs/package.json(+2 -2)📝
vitepress-docs/pnpm-lock.yaml(+436 -436)📝
worker/package.json(+7 -6)📝
worker/pnpm-lock.yaml(+816 -794)➕
worker/src/admin_api/db_api.ts(+156 -0)📝
worker/src/admin_api/index.ts(+6 -0)📝
worker/src/constants.ts(+4 -0)📝
worker/src/telegram_api/telegram.ts(+4 -1)📄 Description
PR Type
Enhancement, Documentation, Bug fix
Description
Added database initialization and migration support in the admin portal.
Implemented backend APIs for database management (initialize, migrate, version).
Updated documentation for database setup and schema updates.
Fixed Telegram bot message formatting issue with Markdown support.
Changes walkthrough 📝
5 files
Add UI for database initialization and migrationIntegrate DatabaseManager component into admin portalImplement database initialization and migration APIsRegister database APIs in admin API routesAdd constants for database versioning1 files
Fix Telegram bot message formatting with Markdown4 files
Update frontend dependenciesUpdate worker dependenciesUpdate Pages dependenciesUpdate VitePress dependencies2 files
Add documentation for database initialization and updatesUpdate UI guide for database initialization3 files
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.