Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met aanvalsplan-criterialijsten gekoppeld aan een inrichting (tbmilinrichting)
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
|---|---|---|---|---|---|---|---|---|
|
|
dnkey |
serial |
|
|
|
nextval('tblokcritlijsten_dnkey_seq'::regclass) |
Primary key. |
|
|
dnkeymilinrichtingen |
integer |
|
|
|
|
Foreign key naar TbMilInrichtingen.dnkey. |
|
|
dvcodemedewerkers |
char(5) |
|
|
|
|
Laatst gewijzigd door. Foreign key naar tbmedewerkers.dvcode. |
|
|
dvomschrijving |
varchar(40) |
|
|
|
|
Omschrijving van de lijst. |
|
|
ddaangemaakt |
timestamp |
|
|
|
|
Datum dat lijst is samengesteld. |
|
|
ddgewijzigd |
timestamp |
|
|
|
|
|
|
|
ddvervallen |
timestamp |
|
|
|
|
Datum dat lijst vervallen is. |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
|---|---|---|---|---|---|---|---|---|
cfk_tblkcrtlst_codemedew |
dvcodemedewerkers |
dvcode |
No Action |
No Action |
|
Immediate |
|
|
cfk_tblkcrtlst_keymilinricht |
dnkeymilinrichtingen |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
|---|---|---|
cnn_tblkcrtlst_keymilinricht |
dnkeymilinrichtingen IS NOT NULL |
|
cnn_tblokcritlijsten_ddaangem |
ddaangemaakt IS NOT NULL |
|
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
|---|---|---|---|---|---|---|
cpk_tblokcritlijsten |
btree |
|
dnkey |
|
|
|
idx_tblkcrtlst_codemedew |
btree |
|
dvcodemedewerkers |
|
|
|
idx_tblkcrtlst_keymilinricht |
btree |
|
dnkeymilinrichtingen |
|
|
|
Triggers
There are no triggers for table tblokcritlijsten
Rules
There are no rules for table tblokcritlijsten
Policies
There are no policies for table tblokcritlijsten
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
|---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbaanvalsp_keylkcrtlstn |
dnkeylokcritlijsten |
dnkey |
No Action |
No Action |
|
Immediate |
|
||
public |
cfk_tblkcrtkop_keylkcrtlst |
dnkeylokcritlijsten |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Properties
Property | Value |
|---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tblokcritlijsten (
dnkey SERIAL,
dnkeymilinrichtingen INTEGER STORAGE PLAIN,
dvcodemedewerkers CHAR(5),
dvomschrijving VARCHAR(40),
ddaangemaakt TIMESTAMP WITHOUT TIME ZONE STORAGE PLAIN,
ddgewijzigd TIMESTAMP WITHOUT TIME ZONE STORAGE PLAIN,
ddvervallen TIMESTAMP WITHOUT TIME ZONE STORAGE PLAIN,
CONSTRAINT cpk_tblokcritlijsten PRIMARY KEY(dnkey),
CONSTRAINT cnn_tblkcrtlst_keymilinricht CHECK (dnkeymilinrichtingen IS NOT NULL),
CONSTRAINT cnn_tblokcritlijsten_ddaangem CHECK (ddaangemaakt IS NOT NULL),
CONSTRAINT cfk_tblkcrtlst_codemedew FOREIGN KEY (dvcodemedewerkers)
REFERENCES public.tbmedewerkers(dvcode)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT cfk_tblkcrtlst_keymilinricht FOREIGN KEY (dnkeymilinrichtingen)
REFERENCES public.tbmilinrichtingen(dnkey)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tblokcritlijsten
IS 'Tabel met aanvalsplan-criterialijsten gekoppeld aan een inrichting (tbmilinrichting)';
COMMENT ON COLUMN public.tblokcritlijsten.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tblokcritlijsten.dnkeymilinrichtingen
IS 'Foreign key naar TbMilInrichtingen.dnkey.';
COMMENT ON COLUMN public.tblokcritlijsten.dvcodemedewerkers
IS 'Laatst gewijzigd door. Foreign key naar tbmedewerkers.dvcode.';
COMMENT ON COLUMN public.tblokcritlijsten.dvomschrijving
IS 'Omschrijving van de lijst.';
COMMENT ON COLUMN public.tblokcritlijsten.ddaangemaakt
IS 'Datum dat lijst is samengesteld.';
COMMENT ON COLUMN public.tblokcritlijsten.ddvervallen
IS 'Datum dat lijst vervallen is.';
CREATE INDEX idx_tblkcrtlst_codemedew ON public.tblokcritlijsten
USING btree (dvcodemedewerkers COLLATE pg_catalog."default");
CREATE INDEX idx_tblkcrtlst_keymilinricht ON public.tblokcritlijsten
USING btree (dnkeymilinrichtingen);
This file was generated with SQL Manager for PostgreSQL (www.sqlmanager.net/products/postgresql/manager) at 21-10-2025 10:22 |
|