changed deployment

This commit is contained in:
Daniel Noulet 2026-10-02 18:50:37 +02:00
parent 045f0b7cf2
commit ea4e057b02
5 changed files with 16 additions and 7 deletions

View file

@ -1,12 +1,12 @@
INSERT INTO users (email, password_hash, display_name, role)
VALUES ('interviewer@nmbs.local', crypt('admin123', gen_salt('bf')), 'Lead Interviewer', 'interviewer')
VALUES ('interviewer@ypto.local', crypt('admin123', gen_salt('bf')), 'Lead Interviewer', 'interviewer')
ON CONFLICT (email) DO UPDATE SET
password_hash = EXCLUDED.password_hash,
display_name = EXCLUDED.display_name,
role = EXCLUDED.role;
INSERT INTO users (email, password_hash, display_name, role)
VALUES ('co-interviewer@nmbs.local', crypt('admin123', gen_salt('bf')), 'Co-Interviewer', 'interviewer')
VALUES ('co-interviewer@ypto.local', crypt('admin123', gen_salt('bf')), 'Co-Interviewer', 'interviewer')
ON CONFLICT (email) DO UPDATE SET
password_hash = EXCLUDED.password_hash,
display_name = EXCLUDED.display_name,