<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Travel extends Model
{
    protected $dates = ["created_at", "updated_at", "departure_date"];

    public function spaceship()
    {
        return $this->belongsTo(Spaceship::class);
    }

    public function delegates()
    {
        return $this->belongsToMany(Passenger::class, 'travel_delegates');
    }
}

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Travel extends Model
{
    protected $dates = ["created_at", "updated_at", "departure_date"];

    public function spaceship()
    {
        return $this->belongsTo(Spaceship::class);
    }

    public function delegates()
    {
        return $this->belongsToMany(Passenger::class, 'travel_delegates')->withTimestamps();
    }
}

Fix timestamps handling in passenger pivot table
Fix timestamps handling in passenger pivot table
