feat: add organization-level certificate toggle and update tower-governor imports
This commit is contained in:
@@ -4,5 +4,11 @@
|
||||
ALTER TABLE organization_exercise_settings
|
||||
ADD COLUMN IF NOT EXISTS certificates_enabled BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
|
||||
ALTER TABLE organizations
|
||||
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.';
|
||||
|
||||
COMMENT ON COLUMN organizations.certificates_enabled
|
||||
IS 'Enable/disable built-in certificate generation. When false, students cannot generate/download certificates from the platform.';
|
||||
|
||||
Reference in New Issue
Block a user