<?php
require_once 'config/database.php';
$db = getDB();
$db->exec("ALTER TABLE payment_transactions MODIFY COLUMN item_type ENUM('course','exam','subscription','cart') NOT NULL");
echo 'Enum updated successfully' . PHP_EOL;
