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