When i create Laravel5 migration as follows it adds "linkdesc" column as a primary key. when i read the documentation of laravel5 migration it does not mentioned that $table->text('description');
this gives a primary key in database.
is there any way to prevent such automatically added primary keys in laravel5 ?
Also is there any other migration functionalities that give this kind of unwanted primary keys ?
my migration is as follows
Schema::create('articles', function (Blueprint $table) {
$table->primary(['pemail', 'linkid']);
$table->bigInteger('linkid');
$table->string('pemail');
$table->string('linkname');
$table->string('linkurl');
$table->integer('linorder');
$table->text('linkdesc')->nullable();
});