Skip to content

Commit 7db1af9

Browse files
committed
update migration stub
1 parent c5b0fe9 commit 7db1af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Stubs/migration.stub

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

7-
class {{ModelMigration}} extends Migration
7+
return new class extends Migration
88
{
99
public function up()
1010
{
@@ -15,4 +15,4 @@ class {{ModelMigration}} extends Migration
1515
{
1616
{{schema_down}}
1717
}
18-
}
18+
};

0 commit comments

Comments
 (0)