Add network_type to the schema

This commit is contained in:
Arturo Filastò 2018-09-05 14:29:47 +02:00
parent 6d2ca54590
commit 5c807e1161

View File

@ -155,6 +155,7 @@ CREATE TABLE `networks` (
-- We use a separate key to reference the rows in -- We use a separate key to reference the rows in
-- this tables, because we may wish to "enrich" -- this tables, because we may wish to "enrich"
-- this with more data in the future. -- this with more data in the future.
`network_type` VARCHAR(16), -- One of wifi, mobile
`ip` VARCHAR(40) NOT NULL, -- Stores a string representation of an ipv4 or ipv6 address. `ip` VARCHAR(40) NOT NULL, -- Stores a string representation of an ipv4 or ipv6 address.
-- The longest ip is an ipv6 address like: -- The longest ip is an ipv6 address like: