|
3 | 3 |
|
4 | 4 | -- Email SMTP configuration |
5 | 5 | INSERT INTO config (id, value, description, category, type, default_value, min_value, max_value, is_read_only, requires_restart, updated_at, updated_by) VALUES |
6 | | - ('email-host', 'smtp.gmail.com', 'SMTP server hostname', 'general', 'string', 'smtp.gmail.com', NULL, NULL, false, false, NOW(), NULL), |
| 6 | + ('email-host', '"smtp.gmail.com"', 'SMTP server hostname', 'general', 'string', '"smtp.gmail.com"', NULL, NULL, false, false, NOW(), NULL), |
7 | 7 | ('email-port', '587', 'SMTP server port', 'general', 'number', '587', '1', '65535', false, false, NOW(), NULL), |
8 | 8 | ('email-secure', 'false', 'Use SSL/TLS for SMTP connection', 'general', 'boolean', 'false', NULL, NULL, false, false, NOW(), NULL), |
9 | | - ('email-user', '', 'SMTP authentication username', 'general', 'string', '', NULL, NULL, false, false, NOW(), NULL), |
10 | | - ('email-password', '', 'SMTP authentication password', 'general', 'string', '', NULL, NULL, false, false, NOW(), NULL), |
11 | | - ('email-from', 'noreply@crackhouse.local', 'From email address for system emails', 'general', 'string', 'noreply@crackhouse.local', NULL, NULL, false, false, NOW(), NULL), |
| 9 | + ('email-user', '""', 'SMTP authentication username', 'general', 'string', '""', NULL, NULL, false, false, NOW(), NULL), |
| 10 | + ('email-password', '""', 'SMTP authentication password', 'general', 'string', '""', NULL, NULL, false, false, NOW(), NULL), |
| 11 | + ('email-from', '"noreply@crackhouse.local"', 'From email address for system emails', 'general', 'string', '"noreply@crackhouse.local"', NULL, NULL, false, false, NOW(), NULL), |
12 | 12 | ('email-enabled', 'false', 'Enable email notifications', 'general', 'boolean', 'false', NULL, NULL, false, false, NOW(), NULL); |
13 | 13 |
|
14 | 14 | -- Email notification preferences |
15 | 15 | INSERT INTO config (id, value, description, category, type, default_value, min_value, max_value, is_read_only, requires_restart, updated_at, updated_by) VALUES |
16 | | - ('email-notify-job-complete', 'true', 'Send email when job completes', 'notifications', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
17 | | - ('email-notify-job-failed', 'true', 'Send email when job fails', 'notifications', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
18 | | - ('email-notify-health-degraded', 'true', 'Send email when system health is degraded', 'notifications', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
19 | | - ('email-notify-health-critical', 'true', 'Send email when system health is critical', 'notifications', 'boolean', 'true', NULL, NULL, false, NOW(), NULL), |
20 | | - ('email-notify-security-events', 'true', 'Send email for security events', 'notifications', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL); |
| 16 | + ('email-notify-job-complete', 'true', 'Send email when job completes', 'general', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
| 17 | + ('email-notify-job-failed', 'true', 'Send email when job fails', 'general', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
| 18 | + ('email-notify-health-degraded', 'true', 'Send email when system health is degraded', 'general', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
| 19 | + ('email-notify-health-critical', 'true', 'Send email when system health is critical', 'general', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL), |
| 20 | + ('email-notify-security-events', 'true', 'Send email for security events', 'security', 'boolean', 'true', NULL, NULL, false, false, NOW(), NULL); |
21 | 21 |
|
22 | 22 | -- Email queue configuration |
23 | 23 | INSERT INTO config (id, value, description, category, type, default_value, min_value, max_value, is_read_only, requires_restart, updated_at, updated_by) VALUES |
|
0 commit comments