Answers for "how to add primary key in existing table in laravel migration"

PHP
2

laravel migration with primary key

$table->string('code', 30)->primary();
Posted by: Guest on May-24-2021

Code answers related to "how to add primary key in existing table in laravel migration"

Browse Popular Code Answers by Language