<?php
require_once 'config.php';

// Test basic insert
$sql = "INSERT INTO menu_filters (filter_name, description, display_order, created_at, updated_at) VALUES ('Breakfast', 'Morning food', 1, NOW(), NOW())";

if ($conn->query($sql) === TRUE) {
    $last_id = $conn->insert_id;
    echo "New record created successfully. Last inserted ID is: " . $last_id . "\n";
} else {
    echo "Error: " . $sql . "\n" . $conn->error;
}
?>
