[增添]增加了时间配置管理功能及页面

This commit is contained in:
makotocc0107
2024-09-03 14:53:51 +08:00
committed by Coding
parent 04f1cec167
commit 211a89778c
8 changed files with 201 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
<?php
use Spatie\LaravelSettings\Migrations\SettingsMigration;
return new class extends SettingsMigration
{
public function up(): void
{
$this->migrator->add('time.global_time', '');
$this->migrator->add('time.node_exporter_time', '');
$this->migrator->add('time.opcua_time', '');
$this->migrator->add('time.prometheus_time', '');
}
};