Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/development/backend/database.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,10 @@ When writing database operations:
The database schema is defined in `src/db/schema.sqlite.ts`. This is the **single source of truth** for all database schema definitions and works across all supported database types.

The schema contains:
1. Core application tables
2. Plugin table definitions (populated dynamically)
3. Proper foreign key relationships and constraints
1. Core application tables (users, teams, MCP configurations, etc.)
2. Background job queue tables (`queueJobs` and `queueJobBatches`) - see [Background Job Queue](/development/backend/job-queue)
3. Plugin table definitions (populated dynamically)
4. Proper foreign key relationships and constraints

**Important**: Only `schema.sqlite.ts` should be edited for schema changes. All databases use SQLite syntax.

Expand Down
10 changes: 9 additions & 1 deletion docs/development/backend/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar: Getting Started
---

import { Card, Cards } from 'fumadocs-ui/components/card';
import { Database, Shield, Plug, Settings, Mail, TestTube, Wrench, BookOpen, Terminal } from 'lucide-react';
import { Database, Shield, Plug, Settings, Mail, TestTube, Wrench, BookOpen, Terminal, ListTodo } from 'lucide-react';

# DeployStack Backend Development

Expand Down Expand Up @@ -104,6 +104,14 @@ The development server starts at `http://localhost:3000` with API documentation
>
API endpoints for satellite registration, configuration management, and command orchestration with polling-based communication.
</Card>

<Card
icon={<ListTodo />}
href="/deploystack/development/backend/job-queue"
title="Background Job Queue"
>
Database-backed job processing system with persistent storage, automatic retries, and rate limiting for long-running background tasks.
</Card>
</Cards>

## Project Structure
Expand Down
Loading