Schema
Owner
postgres
Tablespace
(default)
Descriptions
Table des forets. Informations relatives aux forets (Onglet loc_prf, colonnes CCOD_FRT + LLIB_FRT + IIDTN_FRT)
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
for_id |
serial |
|
nextval('tr_foret_for_for_id_seq'::regclass) |
Identifiant automatique numérique de la foret |
|||
|
|
for_identifiant |
varchar(30) |
|
|
Identifiant national de la foret |
||
|
|
for_code |
varchar(30) |
|
|
|
Code ONF de la foret issu de BDR |
|
|
|
for_libelle |
varchar(255) |
|
|
|
Libelle complet de la foret |
Foreign Keys
There are no foreign keys for table tr_foret_for
Check Constraints
There are no check constraints for table tr_foret_for
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
for_identifiant |
|
L'identifiant national d'une foret doit être unique |
||
btree |
|
for_id |
|
Triggers
There are no triggers for table tr_foret_for
Rules
There are no rules for table tr_foret_for
Policies
There are no policies for table tr_foret_for
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
geo_for_id |
for_id |
No Action |
No Action |
|
Immediate |
Une geolocalisation appartient à une et une seule foret |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tr_foret_for (
for_id SERIAL,
for_identifiant VARCHAR(30) NOT NULL,
for_code VARCHAR(30) NOT NULL,
for_libelle VARCHAR(255) NOT NULL,
CONSTRAINT c_uni_identifiant_for UNIQUE(for_identifiant),
CONSTRAINT tr_foret_for_pkey PRIMARY KEY(for_id)
)
WITH (oids = false);
COMMENT ON TABLE public.tr_foret_for
IS 'Table des forets. Informations relatives aux forets (Onglet loc_prf, colonnes CCOD_FRT + LLIB_FRT + IIDTN_FRT)';
COMMENT ON COLUMN public.tr_foret_for.for_id
IS 'Identifiant automatique numérique de la foret';
COMMENT ON COLUMN public.tr_foret_for.for_identifiant
IS 'Identifiant national de la foret';
COMMENT ON COLUMN public.tr_foret_for.for_code
IS 'Code ONF de la foret issu de BDR';
COMMENT ON COLUMN public.tr_foret_for.for_libelle
IS 'Libelle complet de la foret';
COMMENT ON CONSTRAINT c_uni_identifiant_for ON public.tr_foret_for
IS 'L''identifiant national d''une foret doit être unique';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |