Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Koppeltabel van adviesinstantioes (tbadviesinstanties) en Categorieen (tbadviescategorie)
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbadvcatadvinstnn_dnkey_seq'::regclass) |
Primary key. |
|||
|
dnkeyadviescat |
integer |
|
|
|
|
Foreign key naar tbadviescategorie.dnkey. |
|
|
dvcodeadviesinst |
char(4) |
|
|
|
|
Foreign key naar tbadviesinstanties.dvcode. |
|
|
|
dvindelenin |
char(10) |
|
|
|
|
Geeft een combinatie van modules aan waarbinnen de categorie is op te roepen met de eerste letters van de modules. B = Bouwvergunning O = APV/Overige H =Handhaving C = Horeca I = Info S = Besstemmingsplan E = Milieu/gebruik W= Omgevingsvergunning. |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum waarop combinatie adviesinstantie - categorie is komen te vervallen. |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cfk_tbadvcatadvinst_codeadvins |
dvcodeadviesinst |
dvcode |
No Action |
No Action |
|
Immediate |
|
|
cfk_tbadvcatadvinst_keyadvcat |
dnkeyadviescat |
dnkey |
No Action |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbadvcatadvinst_codeadvins |
dvcodeadviesinst IS NOT NULL |
|
cnn_tbadvcatadvinst_keyadvcat |
dnkeyadviescat IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbadvcatadvinstnn |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbadvcatadvinstnn
Rules
There are no rules for table tbadvcatadvinstnn
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbadviezen_keyadvcat |
dnkeyadvcat |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbadvcatadvinstnn (
dnkey SERIAL,
dnkeyadviescat INTEGER,
dvcodeadviesinst CHAR(4),
dvindelenin CHAR(10),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbadvcatadvinstnn PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbadvcatadvinst_codeadvins CHECK (dvcodeadviesinst IS NOT NULL),
CONSTRAINT cnn_tbadvcatadvinst_keyadvcat CHECK (dnkeyadviescat IS NOT NULL),
CONSTRAINT cfk_tbadvcatadvinst_codeadvins FOREIGN KEY (dvcodeadviesinst)
REFERENCES public.tbadviesinstanties(dvcode)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT cfk_tbadvcatadvinst_keyadvcat FOREIGN KEY (dnkeyadviescat)
REFERENCES public.tbadviescategorie(dnkey)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
)
WITH (oids = false);
COMMENT ON TABLE public.tbadvcatadvinstnn
IS 'Koppeltabel van adviesinstantioes (tbadviesinstanties) en Categorieen (tbadviescategorie)';
COMMENT ON COLUMN public.tbadvcatadvinstnn.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbadvcatadvinstnn.dnkeyadviescat
IS 'Foreign key naar tbadviescategorie.dnkey.';
COMMENT ON COLUMN public.tbadvcatadvinstnn.dvcodeadviesinst
IS 'Foreign key naar tbadviesinstanties.dvcode.';
COMMENT ON COLUMN public.tbadvcatadvinstnn.dvindelenin
IS 'Geeft een combinatie van modules aan waarbinnen de categorie is op te roepen met de eerste letters van de modules. B = Bouwvergunning O = APV/Overige H =Handhaving C = Horeca I = Info S = Besstemmingsplan E = Milieu/gebruik W= Omgevingsvergunning.';
COMMENT ON COLUMN public.tbadvcatadvinstnn.ddvervaldatum
IS 'Datum waarop combinatie adviesinstantie - categorie is komen te vervallen.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |