update sql
This commit is contained in:
parent
5590c98d9e
commit
df6d259acb
|
|
@ -553,3 +553,4 @@ ALTER TABLE public.knowledge_processing_task ADD CONSTRAINT fk_kb_processing_use
|
||||||
|
|
||||||
ALTER TABLE public.user_list ADD CONSTRAINT user_list_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id) ON DELETE SET NULL;
|
ALTER TABLE public.user_list ADD CONSTRAINT user_list_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id) ON DELETE SET NULL;
|
||||||
ALTER TABLE public.user_list ADD CONSTRAINT user_list_enterprise_id_fkey FOREIGN KEY (enterprise_id) REFERENCES public.enterprise(id);
|
ALTER TABLE public.user_list ADD CONSTRAINT user_list_enterprise_id_fkey FOREIGN KEY (enterprise_id) REFERENCES public.enterprise(id);
|
||||||
|
INSERT INTO public.user_list (id, username, email, phone, github_id, github_username, github_avatar_url, github_access_token, github_token_expires_at, display_name, avatar_url, bio, is_active, email_verified, created_at, updated_at, last_login_at, hashed_password, is_search, is_reasoner, enterprise_id, department_id, role, is_first_login, allow_kb_upload) VALUES (1, 'admin1', 'admin1@test.example', '13800000001', null, null, null, null, null, '系统管理员', null, null, true, true, '2026-05-29 06:16:42.499092 +00:00', '2026-05-29 06:16:42.499092 +00:00', '2026-06-01 03:46:03.161874 +00:00', '$2b$12$cD1HutB0mb9mrunLIByFrezFX6gkKEf0euAI7JF31dTIg47p9ArCa', false, false, 1, null, 'admin', false, true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue