Oprava chyb v Logging.php, uprava tabuliek

- oprava tabuliek created_at, CURRENT_TIMESTAMP
- pridanie memory_total, load
- apcu fix
This commit is contained in:
2019-11-22 10:38:09 +01:00
parent 8caa7c227b
commit 72dbd62686
5 changed files with 28 additions and 25 deletions

View File

@@ -17,15 +17,17 @@ class CreateValuesTable extends Migration
$table->bigIncrements('id');
$table->bigInteger('netstat_sent')->nullable();
$table->bigInteger('netstat_recv')->nullable();
$table->bigInteger('memory_total')->nullable();
$table->bigInteger('memory_free')->nullable();
$table->bigInteger('memory_used')->nullable();
$table->bigInteger('disk_free')->nullable();
$table->float('disk_percent',8,2)->nullable();
$table->float('disk_percent',8,2)->nullable();
$table->float('load',8,2)->nullable();
$table->bigInteger('disk_used')->nullable();
$table->bigInteger('disk_total')->nullable();
$table->integer('processes')->nullable();
$table->integer('temp')->nullable();
$table->timestamps();
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
$table->unsignedBigInteger('computer_id');
$table->foreign('computer_id')->references('id')->on('computers');