<?php
require 'includes/db.php';
$pdo->exec("UPDATE inventory_items SET status = 'In-Stock' WHERE status = 'Active'");
$pdo->exec("UPDATE inventory_items SET status = 'Out of Stock' WHERE status = 'Inactive'");
echo "Database statuses updated.";
