-- Dev-only seed. Passwords are placeholder strings — never real cm99.net
-- credentials. The `acc` rows match CM_PREFIX_PATTERN=13c so
-- get_next_username has something to anchor on.

-- Available pool: status='' is the "ready, not yet assigned" state read by
-- get_all_available_acc / get_user_data_from_acc.
INSERT INTO acc (username, password, status, link) VALUES
  ('13c1000', 'seedpass', '', ''),
  ('13c1001', 'seedpass', '', ''),
  ('13c1002', 'seedpass', '', ''),
  ('13c1003', 'seedpass', '', '');

-- Two completed pairs: agent accounts already linked to players. status='done'
-- is the terminal state set by update_user_status_to_done after the security
-- PIN is configured.
INSERT INTO acc (username, password, status, link) VALUES
  ('13c1010', 'seedpass-completed', 'done', 'https://chat.whatsapp.com/SEED-EXAMPLE-1'),
  ('13c1011', 'seedpass-completed', 'done', 'https://chat.whatsapp.com/SEED-EXAMPLE-2');

-- Each `user` row matches one of the 'done' acc rows above. f_username/f_password
-- mirror the agent (acc) credentials; t_username/t_password are the player side
-- (t_password is the security pin set on cm99.net).
INSERT INTO user (f_username, f_password, t_username, t_password) VALUES
  ('13c1010', 'seedpass-completed', 'player_one_seed', '000000'),
  ('13c1011', 'seedpass-completed', 'player_two_seed', '000000');
