Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration table bigint

$this->bigIncrements('id');
This takes care of making it unsigned, auto increment and primary key
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #table #bigint
ADD COMMENT
Topic
Name
6+7 =