Add basic mutation root

This commit is contained in:
Zeph Levy 2025-12-16 12:09:36 +01:00
parent bbb4af92f1
commit d65efebb44
3 changed files with 80 additions and 6 deletions

View file

@ -15,6 +15,6 @@ CREATE TABLE records (
id SERIAL PRIMARY KEY,
dataset_id INTEGER NOT NULL REFERENCES datasets(id),
location_id INTEGER REFERENCES locations(id),
timestamp TIMESTAMPTZ NOT NULL,
timestamp TIMESTAMPTZ NOT NULL DEFAULT now(),
data JSONB
);