1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| -- Table: public.reg_document
| CREATE TABLE public.reg_document
| (
| document_id bigint NOT NULL,
| created timestamp without time zone NOT NULL DEFAULT now(),
| createdby character varying(255) NOT NULL,
| modified timestamp without time zone NOT NULL DEFAULT now(),
| modifiedby character varying(255) NOT NULL,
| file_hash character varying(255),
| file_name text NOT NULL,
| file_path text NOT NULL,
| file_size bigint,
| due_date date,
| secret_key character varying(1024),
| CONSTRAINT reg_document_pkey PRIMARY KEY (document_id)
| )
| WITH (
| OIDS = FALSE
| );
|
| CREATE SEQUENCE public.reg_document_seq
| INCREMENT 1
| START 1
| MINVALUE 1
| MAXVALUE 9223372036854775807
| CACHE 1;
|
|
|
|