Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 367 Bytes

File metadata and controls

14 lines (10 loc) · 367 Bytes

How to make migration empty with Laravel Migration Shortcut

Sometimes you need to avoid running migration in different environments, but still not removing it from the codebase.

Use this shortcut to void a migration:

use Abagayev\Laravel\MigrationShortcuts\Migrations\EmptyMigration;

class VeryImportantMigration extends EmptyMigration
{
    //
}