Make ip use inet type and ul, dl, ping, jitter use real type.

This commit is contained in:
Nick Schmalenberger 2018-02-02 05:27:24 -08:00
parent 576fcf24fe
commit 2e4760ec88

View file

@ -41,13 +41,13 @@ SET default_with_oids = false;
CREATE TABLE speedtest_users ( CREATE TABLE speedtest_users (
id integer NOT NULL, id integer NOT NULL,
"timestamp" timestamp without time zone DEFAULT now() NOT NULL, "timestamp" timestamp without time zone DEFAULT now() NOT NULL,
ip text NOT NULL, ip inet NOT NULL,
ua text NOT NULL, ua text NOT NULL,
lang text NOT NULL, lang text NOT NULL,
dl text, dl real,
ul text, ul real,
ping text, ping real,
jitter text, jitter real,
log text log text
); );