<?php
declare(strict_types=1);

require_once 'config/database.php';

try {
    $sql = file_get_contents('database/migrations/2026_04_14_vehicle_assignments.sql');
    
    $pdo->exec($sql);
    
    echo "Migration completed successfully!\n";
} catch (Exception $e) {
    echo "Migration failed: " . $e->getMessage() . "\n";
}
?>