# Database schemas for internal tools

Source: https://personalsoftwarefactory.com/schemas
Updated: 2026-12-05

> SQL schemas for the internal tools small teams build: tables, keys, constraints and indexes you can run as they are. Each one is written from a blueprint on this site, so it comes with the business rules, screens, phased build prompts and acceptance checks the tables are for. Every schema was run unmodified on two engines, SQLite and PostgreSQL, and loads the blueprint's own seed data, so the example queries return real rows.

- [Approval workflow database schema](https://personalsoftwarefactory.com/schemas/approval-workflow): Approval workflow, 6 tables. A 6-table SQL schema for a spend approval workflow: people, routing rules, requests, steps, audit events. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/approval-workflow.sql · Markdown: https://personalsoftwarefactory.com/schemas/approval-workflow.md
- [Async standup app database schema](https://personalsoftwarefactory.com/schemas/async-standups): Async standups, 12 tables. An async standup schema in 12 tables: check-ins per time zone, answers, blockers and an outbox. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/async-standups.sql · Markdown: https://personalsoftwarefactory.com/schemas/async-standups.md
- [Bug tracking system database schema](https://personalsoftwarefactory.com/schemas/bug-tracker): Bug tracker, 10 tables. A bug tracking system schema in 10 tables: bugs, a lifecycle, duplicates, fix targets and an activity log. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/bug-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/bug-tracker.md
- [Resource planning system database schema](https://personalsoftwarefactory.com/schemas/capacity-planner): Capacity planner, 9 tables. Resource planning database schema: 9 tables for people, working hours, time off, projects, phase budgets and weekly bookings. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/capacity-planner.sql · Markdown: https://personalsoftwarefactory.com/schemas/capacity-planner.md
- [Client onboarding system database schema](https://personalsoftwarefactory.com/schemas/client-onboarding-tracker): Client onboarding tracker, 10 tables. A client onboarding schema in 10 tables: templates, staged projects, tasks, handoffs and client links. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/client-onboarding-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/client-onboarding-tracker.md
- [Editorial calendar database schema](https://personalsoftwarefactory.com/schemas/content-calendar): Content calendar, 7 tables. A content calendar schema in 7 tables: pieces with an approval workflow, channels, campaigns and a log. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/content-calendar.sql · Markdown: https://personalsoftwarefactory.com/schemas/content-calendar.md
- [Contract management system database schema](https://personalsoftwarefactory.com/schemas/contract-tracker): Contract tracker, 9 tables. A 9-table contract management schema: contracts, counterparties, terms, reminders, documents and decisions. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/contract-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/contract-tracker.md
- [Customer feedback management system database schema](https://personalsoftwarefactory.com/schemas/feedback-inbox): Customer feedback inbox, 11 tables. An 11-table customer feedback schema with themes, account votes, MRR ranking, a roadmap and follow-ups. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/feedback-inbox.sql · Markdown: https://personalsoftwarefactory.com/schemas/feedback-inbox.md
- [Client document collection system database schema](https://personalsoftwarefactory.com/schemas/document-requests): Document requests, 13 tables. A 13-table client document request schema: checklists, uploads, reviews, access codes and reminders. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/document-requests.sql · Markdown: https://personalsoftwarefactory.com/schemas/document-requests.md
- [Employee onboarding system database schema](https://personalsoftwarefactory.com/schemas/employee-onboarding): Employee onboarding, 10 tables. An employee onboarding schema in 10 tables: templates, role-based tasks, private check-ins and an outbox. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/employee-onboarding.sql · Markdown: https://personalsoftwarefactory.com/schemas/employee-onboarding.md
- [IT asset management database schema](https://personalsoftwarefactory.com/schemas/equipment-tracker): Equipment tracker, 9 tables. A 9-table IT asset tracking schema: tagged items, check-out history, warranty dates, asset checks and an event log. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/equipment-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/equipment-tracker.md
- [Expense management system database schema](https://personalsoftwarefactory.com/schemas/expense-reports): Expense reports, 8 tables. An 8-table expense report schema: reports with approval and reimbursement, expenses in cents, mileage, categories with limits. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/expense-reports.sql · Markdown: https://personalsoftwarefactory.com/schemas/expense-reports.md
- [Feature request tracking system database schema](https://personalsoftwarefactory.com/schemas/feature-requests): Feature requests, 15 tables. Feature request database schema: 15 tables for ideas, votes, merges, statuses, a changelog and revenue by account. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/feature-requests.sql · Markdown: https://personalsoftwarefactory.com/schemas/feature-requests.md
- [Help desk ticketing system database schema](https://personalsoftwarefactory.com/schemas/help-desk): Help desk, 9 tables. A help desk ticketing schema in 9 tables: tickets, threaded messages, events and an email outbox. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/help-desk.sql · Markdown: https://personalsoftwarefactory.com/schemas/help-desk.md
- [Applicant tracking system database schema](https://personalsoftwarefactory.com/schemas/hiring-pipeline): Hiring pipeline, 13 tables. Applicant tracking system schema in 13 tables: roles, candidates, applications, interviews, scorecards. Runs on SQLite and PostgreSQL with sample data. SQL: https://personalsoftwarefactory.com/schemas/hiring-pipeline.sql · Markdown: https://personalsoftwarefactory.com/schemas/hiring-pipeline.md
- [Inspection checklist app database schema](https://personalsoftwarefactory.com/schemas/inspections): Inspections, 15 tables. An inspection checklist schema in 15 tables: versioned templates, schedules, scored answers and actions. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/inspections.sql · Markdown: https://personalsoftwarefactory.com/schemas/inspections.md
- [Knowledge base database schema](https://personalsoftwarefactory.com/schemas/knowledge-base): Internal knowledge base, 15 tables. A 15-table knowledge base schema with verified cards, owners, review dates, flags and versions. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/knowledge-base.sql · Markdown: https://personalsoftwarefactory.com/schemas/knowledge-base.md
- [Inventory management system database schema](https://personalsoftwarefactory.com/schemas/inventory-tracker): Inventory tracker, 11 tables. Inventory database schema: 11 tables for items, locations, stock movements, purchase orders and counts. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/inventory-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/inventory-tracker.md
- [Accounts receivable collections database schema](https://personalsoftwarefactory.com/schemas/invoice-reminders): Invoice reminders, 13 tables. A 13-table SQL schema for overdue invoice reminders: customers, invoices, payments, reminder steps, sent log. Runs on SQLite and PostgreSQL with sample data. SQL: https://personalsoftwarefactory.com/schemas/invoice-reminders.sql · Markdown: https://personalsoftwarefactory.com/schemas/invoice-reminders.md
- [URL shortener database schema](https://personalsoftwarefactory.com/schemas/link-shortener): Link shortener, 10 tables. A 10-table URL shortener schema with UTM campaigns, QR scans, click counting and change history. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/link-shortener.sql · Markdown: https://personalsoftwarefactory.com/schemas/link-shortener.md
- [Maintenance work order system database schema](https://personalsoftwarefactory.com/schemas/maintenance-requests): Maintenance requests, 17 tables. A 17-table maintenance request and work order schema with checklists and preventive schedules. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/maintenance-requests.sql · Markdown: https://personalsoftwarefactory.com/schemas/maintenance-requests.md
- [NPS survey system database schema](https://personalsoftwarefactory.com/schemas/nps-surveys): NPS surveys, 11 tables. An 11-table NPS survey schema: contacts, sends, responses, follow-ups, notes and tags. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/nps-surveys.sql · Markdown: https://personalsoftwarefactory.com/schemas/nps-surveys.md
- [OKR software database schema](https://personalsoftwarefactory.com/schemas/okr-tracker): OKR tracker, 10 tables. OKR database schema: 10 tables for cycles, objectives, key results, check-ins and target changes. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/okr-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/okr-tracker.md
- [Performance review system database schema](https://personalsoftwarefactory.com/schemas/performance-reviews): Performance reviews, 11 tables. Performance review system schema in 11 tables: cycles, templates, reviews, answers, peer requests, calibration. Runs on SQLite and PostgreSQL with sample data. SQL: https://personalsoftwarefactory.com/schemas/performance-reviews.sql · Markdown: https://personalsoftwarefactory.com/schemas/performance-reviews.md
- [Project status tracking database schema](https://personalsoftwarefactory.com/schemas/project-status-board): Project status board, 6 tables. A 6-table SQL schema for weekly project status updates: people, projects, one update per week, activity log. Runs on SQLite and PostgreSQL with sample data. SQL: https://personalsoftwarefactory.com/schemas/project-status-board.sql · Markdown: https://personalsoftwarefactory.com/schemas/project-status-board.md
- [Sales quote management system database schema](https://personalsoftwarefactory.com/schemas/quote-builder): Quote builder, 13 tables. A 13-table sales quote schema with a price list, discount approvals, client links and invoices. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/quote-builder.sql · Markdown: https://personalsoftwarefactory.com/schemas/quote-builder.md
- [SaaS management system database schema](https://personalsoftwarefactory.com/schemas/saas-spend-tracker): SaaS spend tracker, 6 tables. A 6-table SaaS spend schema for subscriptions, seats, renewals, notice periods and reminders. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/saas-spend-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/saas-spend-tracker.md
- [Sales commission database schema](https://personalsoftwarefactory.com/schemas/commission-calculator): Sales commission calculator, 7 tables. A 7-table sales commission schema: tiered plans, quotas, split deals, monthly periods locked at approval and clawbacks. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/commission-calculator.sql · Markdown: https://personalsoftwarefactory.com/schemas/commission-calculator.md
- [Employee shift scheduling system database schema](https://personalsoftwarefactory.com/schemas/shift-scheduling): Shift scheduling, 13 tables. Shift scheduling database schema: 13 tables for staff, positions, weeks, shifts, swaps and time off. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/shift-scheduling.sql · Markdown: https://personalsoftwarefactory.com/schemas/shift-scheduling.md
- [CRM database schema](https://personalsoftwarefactory.com/schemas/simple-crm): Simple CRM, 6 tables. A 6-table SQL schema for a small-team CRM: people, companies, contacts, deals, activities. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/simple-crm.sql · Markdown: https://personalsoftwarefactory.com/schemas/simple-crm.md
- [Status page database schema](https://personalsoftwarefactory.com/schemas/status-page): Status page, 16 tables. A 16-table status page schema: components, incidents with updates, maintenance, status history for uptime and subscribers. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/status-page.sql · Markdown: https://personalsoftwarefactory.com/schemas/status-page.md
- [Customer testimonial management system database schema](https://personalsoftwarefactory.com/schemas/testimonial-wall): Testimonial wall, 7 tables. Testimonial database schema: 7 tables for testimonials with recorded consent, invitations and history. Runs on SQLite and PostgreSQL with sample data. SQL: https://personalsoftwarefactory.com/schemas/testimonial-wall.sql · Markdown: https://personalsoftwarefactory.com/schemas/testimonial-wall.md
- [Leave management system database schema](https://personalsoftwarefactory.com/schemas/pto-tracker): Time-off tracker, 12 tables. A 12-table leave management schema with half-day bookings, approvals, carry-over and history. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/pto-tracker.sql · Markdown: https://personalsoftwarefactory.com/schemas/pto-tracker.md
- [Timesheet management system database schema](https://personalsoftwarefactory.com/schemas/timesheets): Timesheets, 9 tables. A 9-table timesheet schema: weekly timesheets with approval, entries in minutes, project rates, budgets and an outbox. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/timesheets.sql · Markdown: https://personalsoftwarefactory.com/schemas/timesheets.md
- [Employee training system database schema](https://personalsoftwarefactory.com/schemas/training-manual): Training manual, 16 tables. Employee training system schema in 16 tables: subjects, steps, quizzes, assignments, reads, signatures, policy versions. Runs on SQLite and PostgreSQL. SQL: https://personalsoftwarefactory.com/schemas/training-manual.sql · Markdown: https://personalsoftwarefactory.com/schemas/training-manual.md
- [Visitor management system database schema](https://personalsoftwarefactory.com/schemas/visitor-sign-in): Visitor sign-in, 11 tables. An 11-table visitor management schema: visits, invites, visit types, versioned documents and signatures. Runs on SQLite and PostgreSQL and loads sample data. SQL: https://personalsoftwarefactory.com/schemas/visitor-sign-in.sql · Markdown: https://personalsoftwarefactory.com/schemas/visitor-sign-in.md
