Answers for "change column type and name in laravel migration at same time"

PHP
0

laravel migration change column type

public function up()
{
    Schema::table('sometable', function (Blueprint $table) {
        $table->text('text')->change();
    });
}
Posted by: Guest on June-10-2020

Code answers related to "change column type and name in laravel migration at same time"

Browse Popular Code Answers by Language