-- 테스트 계정 추가 (E2E 자동 테스트용)
-- 비밀번호: test123456
-- bcrypt hash: $2a$11$VKz.3zR0QFGZxJZQJ/M6w.3XjfQTp5emXyqhT3jrDZWCqYIxJkAOq

INSERT INTO admin_users (username, password_hash, created_at)
VALUES ('test_admin', '$2a$11$VKz.3zR0QFGZxJZQJ/M6w.3XjfQTp5emXyqhT3jrDZWCqYIxJkAOq', NOW())
ON CONFLICT (username) DO UPDATE SET
  password_hash = EXCLUDED.password_hash;

-- 검증
SELECT username, created_at FROM admin_users WHERE username IN ('admin', 'test_admin') ORDER BY username;
