Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met afwijkingen op het nieuwe bestemmmingsplan gekoppeld aan een bouw/sloop-vergunning
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbbouwafwnwbpl_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvafwijking |
varchar(100) |
|
|
|
|
De afwijking die van toepassing is op het nieuwe bestemmingsplan. |
|
dnkeybouwvergunningen |
integer |
|
|
|
|
Foreign key naar TbBouwvergunningen.dnkey |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cfk_bwafwnwbpl_bwvergun |
dnkeybouwvergunningen |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_bouwafwnwbpl_keybouwverg |
dnkeybouwvergunningen IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbbouwafwnwbpl |
btree |
|
dnkey |
|
||
idx_bwafwnwbpl_keybwverg |
btree |
|
dnkeybouwvergunningen |
|
|
|
Triggers
There are no triggers for table tbbouwafwnwbpl
Rules
There are no rules for table tbbouwafwnwbpl
Referenced
There are no tables referenced by table tbbouwafwnwbpl
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbbouwafwnwbpl (
dnkey SERIAL,
dvafwijking VARCHAR(100),
dnkeybouwvergunningen INTEGER,
CONSTRAINT cpk_tbbouwafwnwbpl PRIMARY KEY(dnkey),
CONSTRAINT cnn_bouwafwnwbpl_keybouwverg CHECK (dnkeybouwvergunningen IS NOT NULL),
CONSTRAINT cfk_bwafwnwbpl_bwvergun FOREIGN KEY (dnkeybouwvergunningen)
REFERENCES public.tbbouwvergunningen(dnkey)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE
)
WITH (oids = false);
COMMENT ON TABLE public.tbbouwafwnwbpl
IS 'Tabel met afwijkingen op het nieuwe bestemmmingsplan gekoppeld aan een bouw/sloop-vergunning';
COMMENT ON COLUMN public.tbbouwafwnwbpl.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbbouwafwnwbpl.dvafwijking
IS 'De afwijking die van toepassing is op het nieuwe bestemmingsplan.';
COMMENT ON COLUMN public.tbbouwafwnwbpl.dnkeybouwvergunningen
IS 'Foreign key naar TbBouwvergunningen.dnkey';
CREATE INDEX idx_bwafwnwbpl_keybwverg ON public.tbbouwafwnwbpl
USING btree (dnkeybouwvergunningen);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |