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();
    });
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #change #column #type
ADD COMMENT
Topic
Name
5+5 =