<?php
declare(strict_types=1);

require_once 'config/database.php';

try {
$sql = str_replace('USE wi_db;', 'USE vehicleinspectio_vehicledb23;', file_get_contents('database/migrations/2024_10_maintenance_rfq.sql'));
    
    $pdo->exec($sql);
    
    echo "RFQ migration completed successfully!\n";
} catch (Exception $e) {
    echo "Migration failed: " . $e->getMessage() . "\n";
}
?>
