Datadictionary OpenWave 3.1.25
Previous topic Chapter index Next topic

Table: tbhorlokaliteiten

 

 

Schema

public

 

Owner

waveuser005

 

Tablespace

(default)

 

Descriptions

Tabel met gedefinieerde ruimtes per inrichting

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

dnkey

serial

 

nextval('tbhorlokaliteiten_dnkey_seq'::regclass)

Primary key.

 

 

dnkeyhorvergunning

integer

 

 

 

 

Deprecated sinds open-wave versie 3.13. Sederdien gekoppeld aan tnmilinrichtigen

 

 

dvomschrijving

varchar(200)

 

 

 

 

Omschrijving van de lokaliteit.

 

 

dlart46

char(1)

 

 

 

'N'::bpchar

Art 46 van toepassing? T of F of N (weet niet).

 

 

dfoppervlakte

double precision

 

 

 

 

Oppervlakte van lokaliteit.

 

dnkeymilinrichtingen

integer

 

 

 

 

Foreign key naar tbmilinrichtingen.dnkey

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

cfk_horlokaliteit_keymilinr

dnkeymilinrichtingen

public.tbmilinrichtingen

dnkey

Cascade

No Action

 

Immediate

 

 

Check Constraints

Name

Condition

Description

chk_horlokaliteit_art46

dlart46 = ANY (ARRAY['T'::bpchar, 'F'::bpchar, 'N'::bpchar])

 

cnn_horlokaliteit_keymilinr

dnkeymilinrichtingen IS NOT NULL

 

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cpk_tbhorlokaliteiten

btree

 

dnkey

 

idx_horlokaliteit_keymilinr

btree

 

dnkeymilinrichtingen

 

 

 

 

Triggers

There are no triggers for table tbhorlokaliteiten

 

Rules

There are no rules for table tbhorlokaliteiten

 

Policies

There are no policies for table tbhorlokaliteiten

 

Referenced

There are no tables referenced by table tbhorlokaliteiten

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tbhorlokaliteiten (
 dnkey SERIAL,
 dnkeyhorvergunning INTEGER,
 dvomschrijving VARCHAR(200),
 dlart46 CHAR(1) DEFAULT 'N'::bpchar,
 dfoppervlakte DOUBLE PRECISION,
 dnkeymilinrichtingen INTEGER,
 CONSTRAINT cpk_tbhorlokaliteiten PRIMARY KEY(dnkey),
 CONSTRAINT chk_horlokaliteit_art46 CHECK (dlart46 = ANY (ARRAY['T'::bpchar, 'F'::bpchar, 'N'::bpchar])),
 CONSTRAINT cnn_horlokaliteit_keymilinr CHECK (dnkeymilinrichtingen IS NOT NULL),
 CONSTRAINT cfk_horlokaliteit_keymilinr FOREIGN KEY (dnkeymilinrichtingen)
   REFERENCES public.tbmilinrichtingen(dnkey)
   ON DELETE CASCADE
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.tbhorlokaliteiten
IS 'Tabel met gedefinieerde ruimtes per inrichting';

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

COMMENT ON COLUMN public.tbhorlokaliteiten.dnkeyhorvergunning
IS 'Deprecated sinds open-wave versie 3.13. Sederdien gekoppeld aan tnmilinrichtigen';

COMMENT ON COLUMN public.tbhorlokaliteiten.dvomschrijving
IS 'Omschrijving van de lokaliteit.';

COMMENT ON COLUMN public.tbhorlokaliteiten.dlart46
IS 'Art 46 van toepassing? T of F of N (weet niet).';

COMMENT ON COLUMN public.tbhorlokaliteiten.dfoppervlakte
IS 'Oppervlakte van lokaliteit.';

COMMENT ON COLUMN public.tbhorlokaliteiten.dnkeymilinrichtingen
IS 'Foreign key naar tbmilinrichtingen.dnkey';

CREATE INDEX idx_horlokaliteit_keymilinr ON public.tbhorlokaliteiten
 USING btree (dnkeymilinrichtingen);

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