<?php
include('includes/config.php');

// Add business_type column to vendors table
$query = "ALTER TABLE vendors ADD COLUMN business_type VARCHAR(50) DEFAULT 'Individual' AFTER store_slug";
$result = mysqli_query($con, $query);

if ($result) {
    echo "Column 'business_type' added successfully.";
} else {
    echo "Error adding column: " . mysqli_error($con);
}
?>