$type = Type::find(1); $vehicle = AppModelsVehicle::find(1); $type->vehicles()->create([ // Your vehicle attributes ]);