Now using macaddr datatype and added test for adding devices and displaynames
All checks were successful
Build Project / test (push) Successful in 6m32s
All checks were successful
Build Project / test (push) Successful in 6m32s
This commit is contained in:
@@ -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)
|
||||
);
|
||||
Reference in New Issue
Block a user