<?php
require_once __DIR__.'/lomba/db.php';

// Add opt_d
$sql1 = "ALTER TABLE game_questions ADD COLUMN opt_d TEXT DEFAULT NULL AFTER opt_c";
if ($mysqli->query($sql1) === TRUE) {
    echo "Column opt_d added successfully\n";
} else {
    echo "Error adding opt_d: " . $mysqli->error . "\n";
}

// Add opt_e
$sql2 = "ALTER TABLE game_questions ADD COLUMN opt_e TEXT DEFAULT NULL AFTER opt_d";
if ($mysqli->query($sql2) === TRUE) {
    echo "Column opt_e added successfully\n";
} else {
    echo "Error adding opt_e: " . $mysqli->error . "\n";
}
?>
