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)
);