1
Fork 0

core: Create nodeinfo table

This commit is contained in:
Steffo 2024-11-09 09:52:32 +01:00
parent 7568d08d7c
commit be7b1ae3f7
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 10 additions and 0 deletions

View file

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

View file

@ -0,0 +1,9 @@
CREATE TABLE nodeinfo (
nodeinfo_schema VARCHAR NOT NULL,
nodeinfo_href VARCHAR NOT NULL,
nodeinfo_data JSON NOT NULL,
last_updated TIMESTAMP NOT NULL,
PRIMARY KEY(nodeinfo_href)
);