This commit is contained in:
2024-12-26 15:47:21 +01:00
parent 8b8766c609
commit ddd45d7276
10 changed files with 232 additions and 109 deletions

17
dbddl/received.ddl Normal file
View File

@@ -0,0 +1,17 @@
DROP TABLE public.received;
CREATE TABLE public.received
(
id serial4 NOT NULL,
filename text NULL,
unit_name text NULL,
unit_type text NULL,
tool_name text NULL,
tool_type text NULL,
tool_data text NULL,
"locked" int2 DEFAULT 0 NULL,
status int2 DEFAULT 0 NULL,
created_at timestamptz DEFAULT CURRENT_TIMESTAMP NULL,
loaded_at timestamptz NULL,
CONSTRAINT received_pk PRIMARY KEY (id)
);