ALTER ROLE azaion_admin  WITH PASSWORD 'test_password';
ALTER ROLE azaion_reader WITH PASSWORD 'test_password';

-- Legacy SHA-384 hashes seeded for the lazy-migration path (AZ-536 AC-2/AC-3) —
-- the first successful login transparently re-hashes these to Argon2id.
UPDATE public.users
SET password_hash      = 'elZ/nqXsL8E8T1V+9ZPb0bI4HZD0Sc7/ok9DdfxVFjQuGHj+Scya3q9wLXiX+I36',
    failed_login_count = 0,
    lockout_until      = NULL
WHERE email = 'admin@azaion.com';

UPDATE public.users
SET password_hash      = '9cB4uEZlzPYisU4Dh73g+4U81rpeduPyv5Bs9nLMYzzoypEHYXQlTS4azDoVZd3l',
    failed_login_count = 0,
    lockout_until      = NULL
WHERE email = 'uploader@azaion.com';
