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

This commit is contained in:
Nurfog committed 2026-04-14 11:30:00 -04:00
1 parent c750ad0423
commit e0e6655b91
14 files changed
+1027 -7

No files matched your search

@@ -0,0 +1,8 @@
-- Add certificate generation toggle to organization exercise settings
-- Allows organizations to disable built-in certificate generation if using external systems
ALTER TABLE organization_exercise_settings
ADD COLUMN IF NOT EXISTS certificates_enabled BOOLEAN NOT NULL DEFAULT TRUE;
COMMENT ON COLUMN organization_exercise_settings.certificates_enabled
IS 'Enable/disable built-in certificate generation. When false, students cannot generate/download certificates from the platform.';