Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration change column length

Schema::table('users', function ($table) {
    $table->string('name', 50)->change();
});
 
PREVIOUS NEXT
Tagged: #laravel #migration #change #column #length
ADD COMMENT
Topic
Name
8+4 =