Fix an agent bug if a process ran more than 999 days (#15411)

* Fix an agent bug if a process ran more than 999 days
Increase it to 274 years before that happens ;)
Fix a few other small bugs

* Update schema check file
This commit is contained in:
Tony Murray
2023-10-07 20:14:00 -05:00
committed by GitHub
parent 6848527753
commit ac23c133d9
4 changed files with 40 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('processes', function (Blueprint $table) {
$table->string('cputime', 14)->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('processes', function (Blueprint $table) {
$table->string('cputime', 12)->change();
});
}
};