File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,8 @@ use Illuminate\Database\Migrations\Migration;
44use Illuminate\Database\Schema\Blueprint;
55use Illuminate\Support\Facades\Schema;
66
7- class CreateManyToManyPivotFor|UPPERFIRST||UPPERSECOND| extends Migration
7+ return new class extends Migration
88{
9- /**
10- * Run the migrations.
11- *
12- * @return void
13- */
149 public function up()
1510 {
1611 Schema::create('|LOWERFIRST|_|LOWERSECOND|', function (Blueprint $table) {
@@ -22,14 +17,4 @@ class CreateManyToManyPivotFor|UPPERFIRST||UPPERSECOND| extends Migration
2217 ->onDelete('cascade');
2318 });
2419 }
25-
26- /**
27- * Reverse the migrations.
28- *
29- * @return void
30- */
31- public function down()
32- {
33- Schema::dropIfExists('|LOWERFIRST|_|LOWERSECOND|');
34- }
3520}
You can’t perform that action at this time.
0 commit comments