Schema
public
Owner
phyto
Tablespace
(default)
Descriptions
Table associant une localisation géographique à une zone. Une localisation peut être associée à 0 ou n zones.
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
att_zon_id |
integer |
|
|
|
Identifiant de la zone |
|||
att_loc_id |
integer |
|
|
|
Identifiant de la localisation |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
att_loc_id |
loc_id |
Cascade |
No Action |
|
Immediate |
|
||
att_zon_id |
zon_id |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table tj_rattache_loc_zon_att
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
att_zon_id, att_loc_id |
|
Triggers
There are no triggers for table tj_rattache_loc_zon_att
Rules
There are no rules for table tj_rattache_loc_zon_att
Policies
There are no policies for table tj_rattache_loc_zon_att
Referenced
There are no tables referenced by table tj_rattache_loc_zon_att
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
1411 |
Pages |
7 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_rattache_loc_zon_att (
att_zon_id INTEGER NOT NULL,
att_loc_id INTEGER NOT NULL,
CONSTRAINT tj_rattache_loc_zon_att_pkey PRIMARY KEY(att_zon_id, att_loc_id),
CONSTRAINT c_fk_loc_att FOREIGN KEY (att_loc_id)
REFERENCES public.t_localisation_loc(loc_id)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_zon_att FOREIGN KEY (att_zon_id)
REFERENCES public.tr_zone_zon(zon_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_rattache_loc_zon_att
IS 'Table associant une localisation géographique à une zone. Une localisation peut être associée à 0 ou n zones.';
COMMENT ON COLUMN public.tj_rattache_loc_zon_att.att_zon_id
IS 'Identifiant de la zone';
COMMENT ON COLUMN public.tj_rattache_loc_zon_att.att_loc_id
IS 'Identifiant de la localisation';
This file was generated with SQL Manager 2011 for PostgreSQL (www.pgsqlmanager.com) at 28/03/2012 14:37 |