Add basic mutation root
This commit is contained in:
parent
bbb4af92f1
commit
d65efebb44
3 changed files with 80 additions and 6 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue