Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met soorten meldingen ten behoeve van registratie van OMS-meldingen
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbomssrtmelding_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvsrtmelding |
varchar(40) |
|
|
|
|
Soort melding (bijv ammoniak, brandmelding, gasalarm). |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum dat item is komen te vervallen. |
Foreign Keys
There are no foreign keys for table tbomssrtmelding
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbomssrtmelding_srtmeld |
dvsrtmelding IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbomssrtmelding |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbomssrtmelding
Rules
There are no rules for table tbomssrtmelding
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbomsmeld_keyomssrtmelding |
dnkeyomssrtmelding |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbomssrtmelding (
dnkey SERIAL,
dvsrtmelding VARCHAR(40),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbomssrtmelding PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbomssrtmelding_srtmeld CHECK (dvsrtmelding IS NOT NULL)
)
WITH (oids = false);
COMMENT ON TABLE public.tbomssrtmelding
IS 'Tabel met soorten meldingen ten behoeve van registratie van OMS-meldingen';
COMMENT ON COLUMN public.tbomssrtmelding.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbomssrtmelding.dvsrtmelding
IS 'Soort melding (bijv ammoniak, brandmelding, gasalarm).';
COMMENT ON COLUMN public.tbomssrtmelding.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 |
![]() ![]() ![]() |