INSERT INTO users (id, username, password_hash, email, nickname, avatar, bio, "current_role", verified_roles, verification_status) VALUES
  (100001, 'player_lux',
   crypt('test1234', gen_salt('bf')),
   'lux@test.local', '光辉女郎', '', '王者段位代练，擅长中单法师',
   'player', ARRAY['consumer','player'],
   '{"consumer":"approved","player":"approved"}'::jsonb),

  (100002, 'player_yasuo',
   crypt('test1234', gen_salt('bf')),
   'yasuo@test.local', '疾风剑豪', '', '国服亚索，上分快准狠',
   'player', ARRAY['consumer','player'],
   '{"consumer":"approved","player":"approved"}'::jsonb),

  (100003, 'player_jett',
   crypt('test1234', gen_salt('bf')),
   'jett@test.local', '飞刀小姐', '', 'VALORANT 不朽段位',
   'player', ARRAY['consumer','player'],
   '{"consumer":"approved","player":"approved"}'::jsonb),

  (100004, 'owner_star',
   crypt('test1234', gen_salt('bf')),
   'star@test.local', '星辰工作室', '', '专业代练工作室，诚信经营',
   'owner', ARRAY['consumer','owner'],
   '{"consumer":"approved","owner":"approved"}'::jsonb),

  (100005, 'owner_wolf',
   crypt('test1234', gen_salt('bf')),
   'wolf@test.local', '狼群电竞', '', '高端局代练团队',
   'owner', ARRAY['consumer','owner'],
   '{"consumer":"approved","owner":"approved"}'::jsonb),

  (100006, 'consumer_test',
   crypt('test1234', gen_salt('bf')),
   'consumer@test.local', '普通玩家小明', '', '想上钻石',
   'consumer', ARRAY['consumer'],
   '{"consumer":"approved"}'::jsonb),

  (100007, 'consumer_test2',
   crypt('test1234', gen_salt('bf')),
   'consumer2@test.local', '快乐玩家小红', '', '想找人带上分',
   'consumer', ARRAY['consumer'],
   '{"consumer":"approved"}'::jsonb),

  (100008, 'player_owner_duo',
   crypt('test1234', gen_salt('bf')),
   'duo@test.local', '全能选手', '', '既是打手也是店主',
   'player', ARRAY['consumer','player','owner'],
   '{"consumer":"approved","player":"approved","owner":"approved"}'::jsonb);

INSERT INTO user_preferences (user_id) VALUES
  (100001),(100002),(100003),(100004),(100005),(100006),(100007),(100008);

INSERT INTO user_verifications (id, user_id, role, status, materials, reviewed_by, reviewed_at) VALUES
  (100001, 100001, 'player',  'approved', '{"id_card":"mock://id1.jpg","rank_screenshot":"mock://rank1.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100002, 100002, 'player',  'approved', '{"id_card":"mock://id2.jpg","rank_screenshot":"mock://rank2.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100003, 100003, 'player',  'approved', '{"id_card":"mock://id3.jpg","rank_screenshot":"mock://rank3.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100004, 100004, 'owner',   'approved', '{"business_license":"mock://biz1.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100005, 100005, 'owner',   'approved', '{"business_license":"mock://biz2.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100006, 100008, 'player',  'approved', '{"id_card":"mock://id8.jpg","rank_screenshot":"mock://rank8.jpg"}'::jsonb, 702627789228081152, NOW()),
  (100007, 100008, 'owner',   'approved', '{"business_license":"mock://biz8.jpg"}'::jsonb, 702627789228081152, NOW());

INSERT INTO user_follows (id, follower_id, followee_id) VALUES
  (100001, 100006, 100001),
  (100002, 100006, 100002),
  (100003, 100007, 100003),
  (100004, 100007, 100001),
  (100005, 100001, 100002),
  (100006, 100002, 100001);
