laravel change column type rename migration code example
Example 1: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}
Example 2: rename table migration laravel
Schema::rename($from, $to);