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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user