Add admin panel refresh settings

This commit is contained in:
gpt-engineer-app[bot]
2025-10-03 18:37:16 +00:00
parent 47138df86d
commit e6238c45b3
5 changed files with 270 additions and 54 deletions

View File

@@ -0,0 +1,6 @@
-- Add admin settings for panel refresh configuration
INSERT INTO public.admin_settings (setting_key, setting_value, category, description)
VALUES
('system.admin_panel_refresh_mode', '"auto"', 'system', 'Admin panel refresh mode: manual or auto'),
('system.admin_panel_poll_interval', '30', 'system', 'Admin panel auto-refresh interval in seconds (10-300)')
ON CONFLICT (setting_key) DO NOTHING;