I wonder if it is possible to retrieve the ID of a template at the time it is saved to the database. I'm using the following Eloquent method:
$modelo = Modelo::create(['ATT1' => 'valor1', 'ATT2'=>'valor2']);
The template is saved, but the primary key is not returned in the $ model variable. Am I doing it right or is something wrong?