Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met documentypes zoals o.m. bedoeld in de gelderse zaaktypecatalogus voor uploads naar dms, bijv veroek om aanvullende informatie, statusmelding , ontvangsbevestiging
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbdocumenttype_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvdoctype |
varchar(80) |
|
|
|
|
Omschrijving bijv veroek om aanvullende informatie, statusmelding , ontvangsbevestiging |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum waarvanaf type niet meer gebruikt kan worden voor upload naar dms. |
|
|
dvid |
varchar(80) |
|
|
|
|
Wordt niet meer gebruikt |
|
dnkeycompartiment |
integer |
|
|
|
|
Foreign key naar tbcompartiment.dnkey |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cfk_tbdocumenttype_keycomp |
dnkeycompartiment |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table tbdocumenttype
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbdocumenttype |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbdocumenttype
Rules
There are no rules for table tbdocumenttype
Policies
There are no policies for table tbdocumenttype
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbzaaktdoctype_keydoctype |
dnkeydocumenttype |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tbdocumenttype (
dnkey SERIAL,
dvdoctype VARCHAR(80),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
dvid VARCHAR(80),
dnkeycompartiment INTEGER,
CONSTRAINT cpk_tbdocumenttype PRIMARY KEY(dnkey),
CONSTRAINT cfk_tbdocumenttype_keycomp FOREIGN KEY (dnkeycompartiment)
REFERENCES public.tbcompartiment(dnkey)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tbdocumenttype
IS 'Tabel met documentypes zoals o.m. bedoeld in de gelderse zaaktypecatalogus voor uploads naar dms, bijv veroek om aanvullende informatie, statusmelding , ontvangsbevestiging';
COMMENT ON COLUMN public.tbdocumenttype.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbdocumenttype.dvdoctype
IS 'Omschrijving bijv veroek om aanvullende informatie, statusmelding , ontvangsbevestiging';
COMMENT ON COLUMN public.tbdocumenttype.ddvervaldatum
IS 'Datum waarvanaf type niet meer gebruikt kan worden voor upload naar dms.';
COMMENT ON COLUMN public.tbdocumenttype.dvid
IS 'Wordt niet meer gebruikt';
COMMENT ON COLUMN public.tbdocumenttype.dnkeycompartiment
IS 'Foreign key naar tbcompartiment.dnkey';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13 |
![]() ![]() ![]() |