Create your table with NOT NULL primary key constraint
NOT NULL
create table if not exists inx_test_table ( id int unsigned NOT NULL auto_increment primary key, ... )
And add $fillable in your model
$fillable
protected $fillable = [ 'name' ];