<?php
require_once __DIR__ . '/../config/db.php';
$email = 'admin@watching.local';
$pass = 'admin123';
$hash = password_hash($pass, PASSWORD_DEFAULT);
$stmt = db()->prepare("INSERT INTO admin_users (email, password_hash) VALUES (?, ?)");
$stmt->bind_param("ss", $email, $hash);
if ($stmt->execute()) { echo "Admin created: $email / $pass\n"; } else { echo "Error: " . $stmt->error; }