navigator/schema.sql

13 lines
261 B
MySQL
Raw Normal View History

2020-02-01 15:06:00 +08:00
CREATE TABLE speedtest_entry (
id bigserial PRIMARY KEY,
ip inet,
timestamp timestamptz
);
CREATE TABLE speedtest_result (
id bigserial PRIMARY KEY,
entry_id bigint REFERENCES speedtest_entry (id),
node varchar(32),
speed float8
);