Answers for "laravel eloquent change column type"

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
0

laravel change column type

composer require doctrine/dbal

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

Code answers related to "laravel eloquent change column type"

Browse Popular Code Answers by Language