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

14
dbddl/virtusers.ddl Normal file
View File

@@ -0,0 +1,14 @@
DROP TABLE public.virtusers
CREATE TABLE public.virtusers
(
id serial4 NOT NULL,
ftpuser text NOT NULL,
hash text NOT NULL,
virtpath text NOT NULL,
perm text NOT NULL,
defined_at timestamptz DEFAULT CURRENT_TIMESTAMP NULL,
deleted_at timestamptz NULL,
CONSTRAINT virtusers_pk PRIMARY KEY (id),
CONSTRAINT virtusers_unique UNIQUE (ftpuser)
);