fix: increase VARCHAR sizes for direction, eth_type, and ip_proto in packets table for better data handling
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s

This commit is contained in:
2025-12-01 21:06:43 +01:00
parent 6e720859ff
commit 80fa3737a0

View File

@@ -53,12 +53,12 @@ CREATE TABLE IF NOT EXISTS packets (
-- Interface metadata
iface VARCHAR(64),
direction VARCHAR(16),
direction VARCHAR(64),
-- Ethernet
src_mac MACADDR,
dst_mac MACADDR,
eth_type VARCHAR(16),
eth_type VARCHAR(64),
-- VLAN
vlan_id INTEGER,
@@ -66,7 +66,7 @@ CREATE TABLE IF NOT EXISTS packets (
-- IP layer
src_ip INET,
dst_ip INET,
ip_proto VARCHAR(32),
ip_proto VARCHAR(64),
-- Transport layer
src_port INTEGER,