<?php
require_once __DIR__ . '/../includes/db.php';
$db = DB();
// Add custom_schedule and custom_student_details columns if they don't exist
try {
    $db->execute("ALTER TABLE admit_cards ADD COLUMN custom_schedule TEXT NULL");
    echo "Added custom_schedule.\n";
} catch(Exception $e) { echo $e->getMessage() . "\n"; }

try {
    $db->execute("ALTER TABLE admit_cards ADD COLUMN custom_student_details TEXT NULL");
    echo "Added custom_student_details.\n";
} catch(Exception $e) { echo $e->getMessage() . "\n"; }
