exec($sql); echo "Migration executed successfully.\n"; } else { echo "Migration file not found.\n"; } } catch (PDOException $e) { echo "Migration Error: " . $e->getMessage() . "\n"; }