feat: implement course certificate generation system with organization-level toggles

This commit is contained in:
2026-04-14 11:30:00 -04:00
parent c750ad0423
commit e0e6655b91
14 changed files with 1027 additions and 7 deletions
@@ -0,0 +1,8 @@
-- Add certificates_enabled flag to organizations table in LMS
-- This is synced from CMS exercise_settings when organization data is ingested
ALTER TABLE organizations
ADD COLUMN IF NOT EXISTS certificates_enabled BOOLEAN NOT NULL DEFAULT TRUE;
COMMENT ON COLUMN organizations.certificates_enabled
IS 'Whether built-in certificate generation is enabled for this organization (synced from CMS).';