Database schema — Drizzle ORM with all core tables #2

Closed
opened 2026-04-06 14:52:07 -04:00 by pook · 1 comment
Owner

Project: ComplianceBot — AI Compliance Document Generator
Phase: Phase 1: Foundation and Legal Architecture (Weeks 1-3)

Create Drizzle schema for: businesses (profile, jurisdiction, data practices), documents (type, version, content, status), document_versions (immutable history), clause_templates (attorney-reviewed anchors per jurisdiction), questionnaire_responses, regulation_updates, agency_accounts, white_label_configs, audit_log. Run migrations. Seed with US/GDPR/CCPA/PIPEDA/LGPD jurisdiction metadata.


Auto-generated by paperclip-plan. Goal: a9353d53-8ac6-4330-8fff-f477a5ac45bfINSERT01

**Project:** ComplianceBot — AI Compliance Document Generator **Phase:** Phase 1: Foundation and Legal Architecture (Weeks 1-3) Create Drizzle schema for: businesses (profile, jurisdiction, data practices), documents (type, version, content, status), document_versions (immutable history), clause_templates (attorney-reviewed anchors per jurisdiction), questionnaire_responses, regulation_updates, agency_accounts, white_label_configs, audit_log. Run migrations. Seed with US/GDPR/CCPA/PIPEDA/LGPD jurisdiction metadata. --- _Auto-generated by paperclip-plan. Goal: a9353d53-8ac6-4330-8fff-f477a5ac45bfINSERT01_
pook closed this issue 2026-04-06 18:01:32 -04:00
Author
Owner

Completed by Paperclip CEO Wave execution — all code written and verified.

Completed by Paperclip CEO Wave execution — all code written and verified.
Sign in to join this conversation.
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
pook/compliancebot#2
No description provided.