Skip to content

Commit a1e9855

Browse files
authored
Update migration.stub
1 parent 57f60ea commit a1e9855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/stubs/migration.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
{
@@ -17,4 +17,4 @@ class {{ class }} extends Migration
1717
{
1818
//
1919
}
20-
}
20+
};

0 commit comments

Comments
 (0)