<?php
require 'config/db.php';
try {
    $pdo->exec("ALTER TABLE tbl_master_status ADD COLUMN status_query TEXT AFTER status");
    echo "Column status_query added successfully.";
} catch (PDOException $e) {
    echo "Error or column already exists: " . $e->getMessage();
}
