Seed Abhimanyu as employee id 1

This commit is contained in:
Jarvis
2026-02-02 16:59:36 +00:00
parent 03971e3a7d
commit 4088bec248

View File

@@ -18,7 +18,7 @@ ALTER TABLE public.activities DISABLE TRIGGER ALL;
-- Employees (keep only Abhimanyu) -- Employees (keep only Abhimanyu)
INSERT INTO public.employees (id, name, employee_type, department_id, manager_id, title, status, openclaw_session_key, notify_enabled, team_id) INSERT INTO public.employees (id, name, employee_type, department_id, manager_id, title, status, openclaw_session_key, notify_enabled, team_id)
VALUES VALUES
(2, 'Abhimanyu', 'human', NULL, NULL, 'CEO', 'active', NULL, false, NULL) (1, 'Abhimanyu', 'human', NULL, NULL, 'CEO', 'active', NULL, false, NULL)
ON CONFLICT (id) DO UPDATE SET ON CONFLICT (id) DO UPDATE SET
name = EXCLUDED.name, name = EXCLUDED.name,
employee_type = EXCLUDED.employee_type, employee_type = EXCLUDED.employee_type,