<?php
require_once '../config.php';

$sql = file_get_contents('migrate_settings_table.sql');

if ($conn->multi_query($sql)) {
    echo "Settings table created successfully.\n";
    do {
        if ($res = $conn->store_result()) {
            $res->free();
        }
    } while ($conn->more_results() && $conn->next_result());
} else {
    echo "Error creating table: " . $conn->error . "\n";
}

$conn->close();
?>