Now using macaddr datatype and added test for adding devices and displaynames
All checks were successful
Build Project / test (push) Successful in 6m32s

This commit is contained in:
2025-01-04 17:06:13 +00:00
parent 1466075b7b
commit f76f248446
9 changed files with 174 additions and 28 deletions

View File

@@ -5,6 +5,6 @@ CREATE TABLE Telemetry (
Voltage FLOAT,
Temperature FLOAT,
uptime INT NOT NULL,
device_id CHAR(32) NOT NULL,
device_id MACADDR NOT NULL,
FOREIGN KEY (device_id) REFERENCES Devices(ID)
);