-- Sitios de votación (/vote-points). Se gestionan en /admin/votes, pero este seed
-- reproduce los 4 del diseño original con sus logos (public/.../nw-vote-sites/) y URLs.
-- OJO: las URLs apuntan a los listados de UltimoWoW (IDs 94649/496618/94147/91402);
-- cámbialas por las de NovaWoW/nightspire en /admin/votes para que los votos cuenten aquí.

DELETE FROM home_votelog WHERE vote_site_id IN (SELECT id FROM home_votesite WHERE name = 'TopTest');
DELETE FROM home_votesite WHERE name = 'TopTest';

INSERT INTO home_votesite (name, url, image_url, points, created_at, updated_at) VALUES
  ('Gtop100', 'https://gtop100.com/topsites/World-of-Warcraft/sitedetails/UltimoWoW-94649?vote=1&pingUsername=91402', '/nw-themes/nw-ryu/nw-images/nw-vote-sites/gtop100.jpg', 1, NOW(), NOW()),
  ('TopG', 'https://topg.org/wow-private-servers/in-496618-91402', '/nw-themes/nw-ryu/nw-images/nw-vote-sites/topg.webp', 1, NOW(), NOW()),
  ('Top100arena', 'http://www.top100arena.com/in.asp?id=94147&incentive=91402', '/nw-themes/nw-ryu/nw-images/nw-vote-sites/top100arena.jpg', 1, NOW(), NOW()),
  ('Arena-Top100', 'https://www.arena-top100.com/index.php?a=in&u=UltimoWoW&id=91402', '/nw-themes/nw-ryu/nw-images/nw-vote-sites/arenatop100.webp', 1, NOW(), NOW())
ON DUPLICATE KEY UPDATE url = VALUES(url), image_url = VALUES(image_url), points = VALUES(points), updated_at = NOW();
