Add basic mutation root

This commit is contained in:
Zeph Levy 2025-12-16 12:09:36 +01:00
parent 3767438d67
commit 88f8ef867c
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
);