Skip to content

Commit

Permalink
Update scaffold.migration.create.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
luiz0067yahoo authored Oct 11, 2024
1 parent 40a1ac7 commit 2373d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/scaffold.migration.create.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class Create{{ class }}Table extends Migration
return new class extends Migration
{
/**
* Run the migrations.
Expand All @@ -29,4 +29,4 @@ class Create{{ class }}Table extends Migration
{
Schema::dropIfExists('{{ table }}');
}
}
};

0 comments on commit 2373d47

Please sign in to comment.