Answers for "laravel migration edit column command"

PHP
3

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

rename migration laravel

php artisan make:migration alter_your_table --table=your_table
Posted by: Guest on May-16-2021

Code answers related to "laravel migration edit column command"

Browse Popular Code Answers by Language