-- Run this in phpMyAdmin on the SAME database used by db.php
-- It resets the three default users with known passwords.

DELETE FROM users
WHERE email IN ('admin@fitnep.com', 'owner@fitnep.com', 'user@fitnep.com');

INSERT INTO users (name, email, password_hash, role)
VALUES
  ('Admin User', 'admin@fitnep.com', '$2y$10$VvXvQ4tY5LVZxLpI2V1EeOc4GLwRoTSesxNUFDXL9uBeb5GsyhQ2m', 'admin'),
  ('Gym Owner', 'owner@fitnep.com', '$2y$10$VvXvQ4tY5LVZxLpI2V1EeOc4GLwRoTSesxNUFDXL9uBeb5GsyhQ2m', 'gymowner'),
  ('Normal User', 'user@fitnep.com', '$2y$10$VvXvQ4tY5LVZxLpI2V1EeOc4GLwRoTSesxNUFDXL9uBeb5GsyhQ2m', 'user');

-- password for all above users: password123
