Datadictionary OpenWave 3.1.32
Previous topic Chapter index Next topic

Table: tbkopdocaandocsoort

 

 

Schema

public

 

Owner

waveuser005

 

Tablespace

(default)

 

Descriptions

Koppeltabel documentsjablonen aan documentsoorten (sjabloongroepen)

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

dnkey

serial

 

nextval('tbkopdocaandocsoort_dnkey_seq'::regclass)

Primary key

 

dnkeydocsoort

integer

 

 

 

 

Foreign key naar sjabloongroep (tbdocumentsoorten.dnkey)

 

dnkeydocument

integer

 

 

 

 

Foreign key naar documentsjabloon (tbdocumenten.dnkey)

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

cfk_tbkopdocaandocsoort_dnkeydocsoort

dnkeydocsoort

public.tbdocumentsoorten

dnkey

Cascade

No Action

 

Immediate

 

cfk_tbkopdocaandocsoort_dnkeydocument

dnkeydocument

public.tbdocumenten

dnkey

Cascade

No Action

 

Immediate

 

 

Check Constraints

Name

Condition

Description

cnn_tbkopdocaandocsoort_dnkeydocsoort

dnkeydocsoort IS NOT NULL

 

cnn_tbkopdocaandocsoort_dnkeydocument

dnkeydocument IS NOT NULL

 

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cpk_tbkopdocaandocsoort

btree

 

dnkey

 

idu_tbkopdocaandocsoort_docaandocsoort

btree

 

dnkeydocument, dnkeydocsoort

 

 

 

Triggers

There are no triggers for table tbkopdocaandocsoort

 

Rules

There are no rules for table tbkopdocaandocsoort

 

Policies

There are no policies for table tbkopdocaandocsoort

 

Referenced

There are no tables referenced by table tbkopdocaandocsoort

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tbkopdocaandocsoort (
 dnkey SERIAL,
 dnkeydocsoort INTEGER,
 dnkeydocument INTEGER,
 CONSTRAINT cpk_tbkopdocaandocsoort PRIMARY KEY(dnkey),
 CONSTRAINT cnn_tbkopdocaandocsoort_dnkeydocsoort CHECK (dnkeydocsoort IS NOT NULL),
 CONSTRAINT cnn_tbkopdocaandocsoort_dnkeydocument CHECK (dnkeydocument IS NOT NULL),
 CONSTRAINT cfk_tbkopdocaandocsoort_dnkeydocsoort FOREIGN KEY (dnkeydocsoort)
   REFERENCES public.tbdocumentsoorten(dnkey)
   ON DELETE CASCADE
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT cfk_tbkopdocaandocsoort_dnkeydocument FOREIGN KEY (dnkeydocument)
   REFERENCES public.tbdocumenten(dnkey)
   ON DELETE CASCADE
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.tbkopdocaandocsoort
IS 'Koppeltabel documentsjablonen aan documentsoorten (sjabloongroepen)';

COMMENT ON COLUMN public.tbkopdocaandocsoort.dnkey
IS 'Primary key';

COMMENT ON COLUMN public.tbkopdocaandocsoort.dnkeydocsoort
IS 'Foreign key naar sjabloongroep (tbdocumentsoorten.dnkey)';

COMMENT ON COLUMN public.tbkopdocaandocsoort.dnkeydocument
IS 'Foreign key naar documentsjabloon (tbdocumenten.dnkey)';

CREATE UNIQUE INDEX idu_tbkopdocaandocsoort_docaandocsoort ON public.tbkopdocaandocsoort
 USING btree (dnkeydocument, dnkeydocsoort);

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 2-5-2025 13:49
Previous topic Chapter index Next topic