Skip to content

Commit e98fd24

Browse files
authored
Update migration.update.stub
1 parent a1e9855 commit e98fd24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/stubs/migration.update.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
66
use Illuminate\Database\Schema\Blueprint;
77
use Illuminate\Support\Facades\Schema;
88

9-
class {{ class }} extends Migration
9+
return new class extends Migration
1010
{
1111
public function up()
1212
{
@@ -21,4 +21,4 @@ class {{ class }} extends Migration
2121
//
2222
});
2323
}
24-
}
24+
};

0 commit comments

Comments
 (0)