Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel add auto increment

Schema::table('item_tag', function (Blueprint $table) {
    $table->increments('id')->first();
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #add #auto #increment
ADD COMMENT
Topic
Name
7+4 =