start creating server endpoints, database boilerplate

This commit is contained in:
2023-12-24 21:03:32 +00:00
parent c3ae3e91e4
commit 088d3bc0a0
27 changed files with 442 additions and 88 deletions

View File

@@ -0,0 +1 @@
DROP TABLE series_points;

View File

@@ -0,0 +1,6 @@
CREATE TABLE series_points (
id SERIAL PRIMARY KEY,
timestamp TIMESTAMP WITHOUT TIME ZONE NOT NULL,
value INTEGER NOT NULL,
series_id SERIAL REFERENCES series(id)
);