PHPUnit doesn't seem to be running Laravel Migration PHPUnit doesn't seem to be running Laravel Migration laravel laravel

PHPUnit doesn't seem to be running Laravel Migration


According to laravel documentation

Dropping or modifying multiple columns within a single migration while using a SQLite database is not supported.

And although you not trying to modify or drop multiple columns ,you are trying to drop and create in one single migration and in both cases ALTER TABLE query is executed ,and the problem here is the limitations of ALTER TABLE query of sqlite .

You can separate each statement like this:

 /** * Run the migrations. * * @return void */public function up(){    Schema::table('orders', function (Blueprint $table) {        $table->dropColumn('completed');    });   Schema::table('orders', function (Blueprint $table) {         $table->boolean('paid')->default(0);    });}/** * Reverse the migrations. * * @return void */public function down(){    Schema::table('orders', function (Blueprint $table) {        $table->boolean('completed')->default(0);    });   Schema::table('orders', function (Blueprint $table) {     $table->dropColumn('paid');    });}