Adopt anonymous migrations
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateJobsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class CreateJobsTable extends Migration
|
||||
{
|
||||
Schema::drop('jobs');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user