File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
66use Illuminate\Database\Schema\Blueprint;
77use Illuminate\Support\Facades\Schema;
88
9- class {{ class }} extends Migration
9+ return new class extends Migration
1010{
1111 public function up()
1212 {
@@ -20,4 +20,4 @@ class {{ class }} extends Migration
2020 {
2121 Schema::dropIfExists('{{ table }}');
2222 }
23- }
23+ };
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
66use Illuminate\Database\Schema\Blueprint;
77use 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+ };
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
66use Illuminate\Database\Schema\Blueprint;
77use 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+ };
You can’t perform that action at this time.
0 commit comments