Answers for "make primary key with big unsigned integer in migration laravel"

PHP
2

laravel migration with primary key

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

laravel migration table bigint

$this->bigIncrements('id');
This takes care of making it unsigned, auto increment and primary key
Posted by: Guest on February-17-2021

Code answers related to "make primary key with big unsigned integer in migration laravel"

Browse Popular Code Answers by Language