-
Notifications
You must be signed in to change notification settings - Fork 6
INDEX
This wiki contains 34 comprehensive documentation files covering all aspects of D1 Database Manager.
- Home.md - Main wiki landing page with navigation
- README.md - Wiki overview and documentation coverage
- _Sidebar.md - Wiki navigation sidebar
-
Installation.md - Complete installation guide
- Prerequisites and system requirements
- Multiple installation methods (Git, Release, Docker)
- Post-installation setup and verification
- Troubleshooting installation issues
-
Quick-Start-Guide.md - Get started in minutes
- Local development quickstart
- Interface walkthrough
- Key features to explore
- Common workflows
-
Configuration.md - Environment and Worker configuration
- Frontend environment variables
- Wrangler configuration
- Worker secrets management
- CORS and advanced config
-
Authentication-Setup.md - Cloudflare Access (Zero Trust) setup
- Complete authentication flow
- Identity provider configuration
- Access policies and application setup
- Troubleshooting authentication
-
Database-Management.md - Database operations
- List, create, rename, delete databases
- Bulk operations (download, delete, optimize)
- Upload/import SQL files
- Best practices and troubleshooting
-
Table-Operations.md - Table management
- Browse, create, rename, clone tables
- Export tables (SQL/CSV)
- Delete with dependency analysis
- Bulk table operations
-
Query-Console.md - SQL query execution
- Query editor with syntax highlighting
- Execute and view results
- Saved queries and history
- Export results to CSV
-
Column-Management.md - Column operations
- Add columns with constraints
- Rename columns (fast)
- Modify type/constraints
- Drop columns with validation
-
Bulk-Operations.md - Multi-select batch operations
- Database bulk operations
- Table bulk operations
- Progress tracking
- Best practices and limitations
-
Cascade-Impact-Simulator.md - Deletion cascade visualization
- Interactive graph visualization
- Theoretical simulation and impact analysis
- Multi-format export (CSV, JSON, Text, PDF)
- Usage workflow and best practices
-
Schema-Designer.md - Visual table creation tool
- Visual column builder
- Type selection and constraints
- Live SQL preview
- Validation and error handling
-
Foreign-Key-Dependencies.md - Relationship management
- Referential integrity
- Parent/child table analysis
- ON DELETE behaviors
- Dependency visualization
-
Index-Analyzer.md - Performance optimization tool
- Schema analysis and query pattern detection
- Priority scoring and impact estimation
- One-click index creation
- Existing index display
-
Foreign-Key-Visualizer.md - Interactive FK constraint editor
- Interactive graph-based relationship management
- Add, modify, and delete foreign key constraints
- Type validation and orphan detection
- Dual layout system (hierarchical/force-directed)
-
ER-Diagram.md - Visual entity-relationship diagram
- Read-only schema visualization
- Primary key and foreign key indicators
- Interactive navigation to tables
- Multi-format export (PNG, JSON)
-
Cross-Database-Search.md - Multi-database search
- Search across all databases
- Configurable search scope
- Unified results display
- Performance considerations
-
Database-Comparison.md - Schema comparison tool
- Side-by-side schema diff
- Table and column comparison
- Visual indicators
- Migration planning
-
Migration-Wizard.md - Database migration tool
- Guided workflow
- Schema and data transfer
- Conflict resolution
- Progress tracking
-
Database-Optimization.md - Performance optimization
- Indexing strategies
- ANALYZE command
- Schema design best practices
- Query optimization
-
Webhooks.md - Event-driven HTTP notifications
- Configure webhooks for database events
- Supported events (database_create, job_failed, etc.)
- HMAC signature verification
- Testing and troubleshooting
-
Observability.md - External logging integration
- OpenTelemetry export configuration
- Grafana, Datadog, Sentry integration
- Workers Analytics Engine
- Tail Workers and Logpush
-
Architecture.md - Technical architecture
- System overview and design patterns
- Frontend and backend architecture
- Data flow examples
- Performance and security considerations
-
API-Reference.md - Complete REST API documentation
- All database endpoints
- All table endpoints
- Column and query endpoints
- Request/response formats with examples
-
Technology-Stack.md - Technologies and tools
- Frontend technologies (React, TypeScript, Vite)
- Backend technologies (Workers, D1, Access)
- Libraries and dependencies
- Development tools and alternatives considered
-
Local-Development.md - Local development setup
- No Cloudflare account required
- Mock D1 data
- Hot module replacement
- Full UI testing
-
Worker-Implementation.md - Cloudflare Worker backend
- Worker entry point
- Authentication flow
- CORS handling
- D1 database access
- Route handlers
-
Frontend-Architecture.md - React frontend structure
- Component hierarchy
- State management
- Client-side routing
- API client
- Theme system
-
Development-Workflow.md - Git workflow and practices
- Branch strategy
- Commit conventions
- Pull request process
- Code review
- Common scenarios
-
Code-Style-Guide.md - Coding standards
- TypeScript standards
- React conventions
- Naming conventions
- Code organization
- Best practices
-
Testing-Guide.md - Testing procedures
- Manual testing checklist
- Cross-browser testing
- Responsive testing
- Performance testing
- Future automated testing plans
-
Production-Deployment.md - Deploy to Cloudflare Workers
- Step-by-step deployment guide
- Environment management
- Custom domain setup
- Monitoring and troubleshooting
-
Docker-Deployment.md - Docker deployment guide
- Docker image usage
- Environment configuration
- Volume management
- Production considerations
-
Troubleshooting.md - Common problems and solutions
- Installation issues
- Authentication issues
- Database and table issues
- Query and performance issues
- Deployment problems
-
File-Structure.md - Project organization
- Directory layout
- File naming conventions
- Key files explained
- Navigation guide
-
Security-Best-Practices.md - Security guidelines
- Authentication security
- API security
- Input validation
- Data protection
- Deployment security
-
Environment-Variables.md - Configuration reference
- Frontend variables
- Worker secrets
- Development vs. production
- Variable precedence
-
Changelog.md - Version history
- Release notes
- Feature additions
- Bug fixes
- Breaking changes
-
Roadmap.md - Future plans
- Completed features
- Planned features
- Feature priorities
- Contribution opportunities
-
Contributing-Guide.md - Contribution guidelines
- How to contribute
- Development setup
- Pull request process
- Code standards
- Documentation guidelines
- Total Pages: 39 comprehensive documents (36 content pages + 3 meta pages)
- Total Word Count: ~80,000+ words
- Code Examples: 400+ code snippets
- API Endpoints: 30+ documented endpoints
- Troubleshooting Solutions: 100+ common issues
- Step-by-Step Guides: 25+ procedures
Getting Started (13% - 5 pages)
- Installation and setup
- Quick start guide
- Configuration
- Authentication
Core Features (26% - 9 pages)
- Database operations
- Table operations
- Query console
- Column management
- Bulk operations
- Cascade impact simulator
- Schema designer
- Foreign key dependencies
Advanced Features (11% - 4 pages)
- Cross-database search
- Database comparison
- Migration wizard
- Database optimization
Development (24% - 9 pages)
- Architecture overview
- API reference
- Technology stack
- Local development
- Worker implementation
- Frontend architecture
- Development workflow
- Code style guide
- Testing guide
Deployment (8% - 3 pages)
- Production deployment
- Docker deployment
- Troubleshooting guide
Reference (16% - 6 pages)
- File structure
- Security best practices
- Environment variables
- Changelog
- Roadmap
- Contributing guide
Meta (3 pages)
- Home page
- README
- Sidebar navigation
β
Create, rename, delete databases
β
Bulk download (SQL dumps in ZIP)
β
Bulk delete with progress tracking
β
Bulk optimize (ANALYZE)
β
Upload/import SQL files
β
Browse, create, rename, clone tables
β
Export as SQL or CSV
β
Delete with dependency analysis
β
Bulk clone/export/delete
β
Add columns with constraints
β
Rename columns (fast)
β
Modify type/constraints
β
Drop columns with validation
β
SQL editor with syntax highlighting
β
Execute queries (Ctrl+Enter)
β
Query history (automatic)
β
Saved queries (reusable)
β
CSV export results
β
Schema Designer (visual table creation with STRICT mode and generated columns)
β
Drizzle ORM Console (introspect, migrate, push, export TypeScript schemas)
β
Unified Backup & Restore Hub (undo + R2 backups with bulk actions and orphaned backups)
β
Scheduled R2 Backups (daily/weekly/monthly with next/last run tracking)
β
Metrics Dashboard (query volume, latency, rows read, storage trends)
β
Foreign Key Visualizer & ER Diagram (interactive graphs with fullscreen mode)
β
Cascade Impact Simulator (interactive graph, multi-format export)
β
Time Travel (database bookmarks, checkpoint history, CLI restore)
β
Index Analyzer (intelligent recommendations + Create All Indexes)
β
FTS5 Full-Text Search (manage virtual tables, convert to/from regular tables)
β
Cross-Database Search (search across all databases with FTS5 mode)
β
Database Comparison (schema diff tool)
β
Migration Wizard (guided data transfer)
β
SQL Formatter & Autocomplete Toggle (one-click formatting, preference persistence)
β
Dark/light/system themes
- Every feature explained in detail
- Step-by-step instructions
- Code examples for clarity
- API endpoints documented
- Troubleshooting included
- Clear navigation structure
- Consistent formatting
- Progressive disclosure (basic β advanced)
- Real-world examples
- Common workflows documented
- Architecture explained
- API reference complete
- Technology stack detailed
- Code patterns documented
- Extension points identified
All wiki pages follow this format:
-
Spaces replaced with hyphens:
Quick-Start-Guide.md - Title case: Each word capitalized
- Descriptive names: Clear purpose from filename
-
Special files: Prefix with underscore (
_Sidebar.md)
Home
βββ Getting Started (5 pages)
β βββ Installation
β βββ Quick Start Guide
β βββ Configuration
β βββ Authentication Setup
βββ Core Features (9 pages)
β βββ Database Management
β βββ Table Operations
β βββ Query Console
β βββ Column Management
β βββ Bulk Operations
β βββ Cascade Impact Simulator
β βββ Schema Designer
β βββ Row Level Filtering
β βββ Foreign Key Dependencies
β βββ Index Analyzer
βββ Advanced Features (4 pages)
β βββ Cross Database Search
β βββ Database Comparison
β βββ Migration Wizard
β βββ Database Optimization
βββ Development (9 pages)
β βββ Architecture
β βββ API Reference
β βββ Technology Stack
β βββ Local Development
β βββ Worker Implementation
β βββ Frontend Architecture
β βββ Development Workflow
β βββ Code Style Guide
β βββ Testing Guide
βββ Deployment (3 pages)
β βββ Production Deployment
β βββ Docker Deployment
β βββ Troubleshooting
βββ Reference (6 pages)
βββ File Structure
βββ Security Best Practices
βββ Environment Variables
βββ Changelog
βββ Roadmap
βββ Contributing Guide
- Start with Home.md
- Follow Installation.md
- Read Quick-Start-Guide.md
- Explore Database-Management.md
- Read Architecture.md
- Study API-Reference.md
- Review Technology-Stack.md
- Check Configuration.md
- Follow Installation.md
- Configure Authentication-Setup.md
- Deploy using Production-Deployment.md
- Reference Configuration.md
- Check Troubleshooting.md first
- Review relevant feature page
- Check API-Reference.md for API issues
- Consult Configuration.md for setup issues
- Create
New-Page-Name.mdfile - Add to
_Sidebar.mdnavigation - Link from
Home.mdif needed - Follow existing format and style
- Edit the relevant
.mdfile - Maintain consistent formatting
- Update code examples if needed
- Check links still work
- Use Markdown format
- Include code examples
- Provide step-by-step instructions
- Address common issues
- Keep navigation updated
- GitHub Repository: https://github.com/neverinfamous/d1-manager
- Live Demo: https://d1.adamic.tech/
- Docker Hub: https://hub.docker.com/r/writenotenow/d1-manager
- Cloudflare D1: https://developers.cloudflare.com/d1/
- Cloudflare Workers: https://developers.cloudflare.com/workers/
- Status: Complete and Production-Ready
- Current Version: View Latest Release
-
v2.5.0 (Feb 10, 2026) - Node.js 24 LTS, Query Builder fix, security patches, ESLint remediation
-
v2.4.0 (Jan 13, 2026) - Schema Comparison with Migration Script Generation
-
v2.3.0 (Jan 7, 2026) - Query Insights feature release
-
v2.2.0 (Jan 7, 2026) - Feature release
- Added portable export formats (SQL/JSON/CSV)
- Added external import support
- Added batch export format selection
- Security and CI/CD improvements
-
v2.1.0 (Jan 7, 2026) - Feature release
- Added AI Search Integration documentation
- Added Health Dashboard documentation
- Updated Webhooks documentation for 13-event engine
- Updated all feature pages for v2.1.0
-
v2.0.0 (Dec 5, 2025) - Major feature release
- Added Drizzle ORM Console documentation
- Added Scheduled Backups documentation
- Added Metrics Dashboard documentation
- Updated all feature pages for v2.0.0
- Reorganized sidebar navigation
- Updated technology stack versions
- Comprehensive performance improvements documented
-
v1.0.0 (Nov 3, 2025) - Comprehensive wiki creation
- 37 total pages (34 content pages + 3 meta pages)
- All features documented in detail
- Complete API reference
- Development guides (workflow, style, testing)
- Advanced features documentation
- Reference guides (security, environment, contributing)
- Troubleshooting guide included
- 80,000+ words of documentation
- 400+ code examples
This documentation is part of D1 Database Manager and is licensed under the MIT License.
Made with β€οΈ for the Cloudflare community
For questions or issues, visit the GitHub repository.
- Database Management
- R2 Backup Restore
- Scheduled Backups
- Table Operations
- Query Console
- Schema Designer
- Column Management
- Bulk Operations
- Job History
- Time Travel
- Read Replication
- Undo Rollback
- Foreign Key Visualizer
- ER Diagram
- Foreign Key Dependencies
- Foreign Key Navigation
- Circular Dependency Detector
- Cascade Impact Simulator
- AI Search
- FTS5 Full Text Search
- Cross Database Search
- Index Analyzer
- Database Comparison
- Database Optimization