Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration change column type

public function up()
{
    Schema::table('sometable', function (Blueprint $table) {
        $table->text('text')->change();
    });
}
 
PREVIOUS NEXT
Tagged: #laravel #migration #change #column #type
ADD COMMENT
Topic
Name
9+1 =