mirror of
https://github.com/loviuz/wifi-probe-aggregator.git
synced 2025-02-16 11:30:37 +01:00
Aggiunta struttura database
This commit is contained in:
parent
b35fd0761f
commit
cd5e7cfa30
13
ws/setup.sql
Normal file
13
ws/setup.sql
Normal file
@ -0,0 +1,13 @@
|
||||
--
|
||||
-- Creazione tabella per il salvataggio dei mac address
|
||||
--
|
||||
|
||||
CREATE TABLE `logs` (
|
||||
`id` int(11) NOT NULL,
|
||||
`mac` varchar(17) NOT NULL,
|
||||
`ssid` varchar(255) NOT NULL,
|
||||
`dbm` tinyint(4) NOT NULL,
|
||||
`latitude` decimal(9,6) NOT NULL,
|
||||
`longitude` decimal(9,6) NOT NULL,
|
||||
`received_at` datetime NOT NULL DEFAULT current_timestamp()
|
||||
) ENGINE=InnoDB;
|
Loading…
x
Reference in New Issue
Block a user