Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel van mogelijke criteria en punten t.b.v. brandweer aanvalsplan/bereikbaarheidsdkaart
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tblokcrititems_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvcriterium |
varchar(40) |
|
|
|
|
Omschrijving criterium bijv. cv minder dan 130 KW of Schuimblusinstallatie. |
|
|
dnpunten |
integer |
|
|
|
0 |
Puntenaantal. |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum dat item is komen te vervallen. |
Foreign Keys
There are no foreign keys for table tblokcrititems
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tblokcrititems_crit |
dvcriterium IS NOT NULL |
|
cnn_tblokcrititems_punt |
dnpunten IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tblokcrititems |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tblokcrititems
Rules
There are no rules for table tblokcrititems
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tblkcrtkop_keylkcrtitem |
dnkeylokcrititems |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tblokcrititems (
dnkey SERIAL,
dvcriterium VARCHAR(40),
dnpunten INTEGER DEFAULT 0,
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tblokcrititems PRIMARY KEY(dnkey),
CONSTRAINT cnn_tblokcrititems_crit CHECK (dvcriterium IS NOT NULL),
CONSTRAINT cnn_tblokcrititems_punt CHECK (dnpunten IS NOT NULL)
)
WITH (oids = false);
COMMENT ON TABLE public.tblokcrititems
IS 'Tabel van mogelijke criteria en punten t.b.v. brandweer aanvalsplan/bereikbaarheidsdkaart';
COMMENT ON COLUMN public.tblokcrititems.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tblokcrititems.dvcriterium
IS 'Omschrijving criterium bijv. cv minder dan 130 KW of Schuimblusinstallatie.';
COMMENT ON COLUMN public.tblokcrititems.dnpunten
IS 'Puntenaantal.';
COMMENT ON COLUMN public.tblokcrititems.ddvervaldatum
IS 'Datum dat item is komen te vervallen.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |