I have made a custom primary key in Laravel. On my model
protected $primaryKey = ['profileId'];
public $incrementing = false;
Migration = $table->integer('profileId')->unsigned();
$table->primary('profileId');
Is there use of making a custom primary key unsigned()
. ?