pggeodb.nancy.inrae.fr/db_arboretum
Previous topic Chapter index Next topic

Table: tr_provenance_prov

 

 

Schema

public

 

Owner

arboretum

 

Tablespace

(default)

 

Descriptions

Table des provenances des arbres.

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

prov_id

serial

 

nextval('tr_provenance_prov_prov_id_seq'::regclass)

Identifiant automatique numérique de la provenance

 

 

prov_nom

varchar(100)

 

 

Identifiant humain / nom unique de la provenance

 

Foreign Keys

There are no foreign keys for table tr_provenance_prov

 

Check Constraints

There are no check constraints for table tr_provenance_prov

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

c_uni_nom_prov

btree

 

prov_nom

 

Le nom de la provenance est unique

tr_provenance_prov_pkey

btree

 

prov_id

 

 

Triggers

There are no triggers for table tr_provenance_prov

 

Rules

There are no rules for table tr_provenance_prov

 

Policies

There are no policies for table tr_provenance_prov

 

Referenced

Table

Schema

Foreign Key

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

t_arbre_arb

public

c_fk_prov_arb

arb_prov_id

public.tr_provenance_prov

prov_id

No Action

No Action

 

Immediate

un arbre peut être rattaché à une provenance

 

Properties

Property

Value

Inherited From

 

Rows

328

Pages

3

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tr_provenance_prov (
 prov_id SERIAL,
 prov_nom VARCHAR(100) NOT NULL,
 CONSTRAINT c_uni_nom_prov UNIQUE(prov_nom),
 CONSTRAINT tr_provenance_prov_pkey PRIMARY KEY(prov_id)
) ;

COMMENT ON TABLE public.tr_provenance_prov
IS 'Table des provenances des arbres.';

COMMENT ON COLUMN public.tr_provenance_prov.prov_id
IS 'Identifiant automatique numérique de la provenance';

COMMENT ON COLUMN public.tr_provenance_prov.prov_nom
IS 'Identifiant humain / nom unique de la provenance';

COMMENT ON CONSTRAINT c_uni_nom_prov ON public.tr_provenance_prov
IS 'Le nom de la provenance est unique';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23
Previous topic Chapter index Next topic