Shift with red gradient lettering

Remove down migration

Laravel

Streamline your database migrations by removing the down method for Laravel project where you never rollback migrations.

Before

class CreateUsersTable extends Migration
{
/** Run the migrations... */
public function up()
{
//
}
 
/** Reverse the migrations... */
public function down()
{
//
}
}

After

class CreateUsersTable extends Migration
{
/** Run the migrations... */
public function up()
{
//
}
}

← Back to the Workbench Tasks

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.