Skip to content

Commit

Permalink
update migration stub
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Mar 6, 2022
1 parent c5b0fe9 commit 7db1af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Stubs/migration.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class {{ModelMigration}} extends Migration
return new class extends Migration
{
public function up()
{
Expand All @@ -15,4 +15,4 @@ class {{ModelMigration}} extends Migration
{
{{schema_down}}
}
}
};

0 comments on commit 7db1af9

Please sign in to comment.