coding style
This commit is contained in:
@@ -12,7 +12,7 @@ return new class extends Migration
|
||||
{
|
||||
$connection = (new HealthCheckResultHistoryItem())->getConnectionName();
|
||||
$tableName = EloquentHealthResultStore::getHistoryItemInstance()->getTable();
|
||||
|
||||
|
||||
Schema::connection($connection)->create($tableName, function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
@@ -27,8 +27,8 @@ return new class extends Migration
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::connection($connection)->table($tableName, function(Blueprint $table) {
|
||||
|
||||
Schema::connection($connection)->table($tableName, function (Blueprint $table) {
|
||||
$table->index('created_at');
|
||||
$table->index('batch');
|
||||
});
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
@@ -31,4 +31,4 @@ return new class extends Migration
|
||||
{
|
||||
Schema::dropIfExists('shop_baskets');
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user