We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee1464 commit df0fd59Copy full SHA for df0fd59
resources/stubs/migration.stub
@@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema;
4
use Illuminate\Database\Schema\Blueprint;
5
use Illuminate\Database\Migrations\Migration;
6
7
-class {{class}} extends Migration
+return new class extends Migration
8
{
9
/**
10
* Run the migrations.
@@ -25,4 +25,4 @@ class {{class}} extends Migration
25
26
{{schema_down}}
27
}
28
-}
+};
0 commit comments