Changing column in Laravel migration causes exception: Changing columns for table requires Doctrine DBAL -


i'm trying change max length of 1 of columns in table reserves in 1 migration. code looks this:

public function up() {     //     schema::table('reserves', function($table){         $table->string("mobile", 11)->change();     }); } 

but when running migration via artisan, throws exception , says:

[runtimeexception] changing columns table "reserves" requires doctrine dbal; install "doctrine/dbal".

what problem , how can solve it?

the problem solved, executing following command on root directory of framework:

composer require doctrine/dbal 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -