네트워크 오류 드롭 누적 표시 정리
This commit is contained in:
@@ -622,6 +622,28 @@ function bootstrap_db(): void
|
||||
COLLATE=utf8mb4_unicode_ci
|
||||
");
|
||||
|
||||
$pdo->exec("
|
||||
CREATE TABLE IF NOT EXISTS network_quality_totals (
|
||||
iface VARCHAR(32) NOT NULL PRIMARY KEY,
|
||||
|
||||
rx_errors_total BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
tx_errors_total BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
rx_dropped_total BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
tx_dropped_total BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
|
||||
last_rx_errors BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
last_tx_errors BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
last_rx_dropped BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
last_tx_dropped BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
|
||||
created_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
|
||||
updated_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3)
|
||||
ON UPDATE CURRENT_TIMESTAMP(3)
|
||||
) ENGINE=InnoDB
|
||||
DEFAULT CHARSET=utf8mb4
|
||||
COLLATE=utf8mb4_unicode_ci
|
||||
");
|
||||
|
||||
$pdo->exec("
|
||||
CREATE TABLE IF NOT EXISTS remember_tokens (
|
||||
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user