mirror of
https://github.com/loviuz/wifi-probe-aggregator.git
synced 2025-02-16 11:30:37 +01:00
Aggiunta tabella con lista device per mappatura mac address
This commit is contained in:
parent
2ad2d61408
commit
a69d308264
8
ws/setup.sql
Normal file → Executable file
8
ws/setup.sql
Normal file → Executable file
@ -11,3 +11,11 @@ CREATE TABLE `logs` (
|
||||
`longitude` decimal(9,6) NOT NULL,
|
||||
`received_at` datetime NOT NULL DEFAULT current_timestamp()
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
-- Tabella per il match fra mac address e nome
|
||||
CREATE TABLE `devices` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`nome` VARCHAR(255) NOT NULL,
|
||||
`mac` VARCHAR(17) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB;
|
||||
|
Loading…
x
Reference in New Issue
Block a user