<?php
include 'includes/db.php';

// Add image_url column
$sql = "ALTER TABLE services ADD COLUMN IF NOT EXISTS image_url VARCHAR(255) AFTER description";

if ($conn->query($sql) === TRUE) {
    echo "Column 'image_url' added successfully to 'services' table.<br>";
} else {
    echo "Error adding column: " . $conn->error . "<br>";
}

echo "Database update complete. You can delete this file now.";
?>
