pggeodb.nancy.inra.fr/db_phyto - db_phyto on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Table: t_barreau_bar

 

 

Schema

public

 

Owner

phyto

 

Tablespace

(default)

 

Descriptions

Table des barreaux

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

bar_id

serial

 

nextval('t_barreau_bar_bar_id_seq'::regclass)

Identifiant unique automatique

 

bar_ron_id

integer

 

 

 

Identifiant unique de la rondelle ayant servi au prélèvement

 

 

bar_identification

varchar(12)

 

 

 

 

Identification permettant de distinguer notamment 2 barreaux d'une même rondelle (numéro ...)

 

 

bar_traitement

varchar(255)

 

 

 

 

Précise les traitements appliqués au barreau ainsi que les dates d'application en format libre

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

c_fk_ron_bar

bar_ron_id

public.t_rondelle_ron

ron_id

No Action

No Action

 

Immediate

 

 

Check Constraints

There are no check constraints for table t_barreau_bar

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_uni_ron_identification_bar

btree

 

bar_ron_id, bar_identification

 

 

t_barreau_bar_pkey

btree

 

bar_id

 

 

Triggers

There are no triggers for table t_barreau_bar

 

Rules

There are no rules for table t_barreau_bar

 

Policies

There are no policies for table t_barreau_bar

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

t_rayon_ray

public

c_fk_bar_ray

ray_bar_id

public.t_barreau_bar

bar_id

No Action

No Action

 

Immediate

 

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.t_barreau_bar (
 bar_id SERIAL,
 bar_ron_id INTEGER NOT NULL,
 bar_identification VARCHAR(12),
 bar_traitement VARCHAR(255),
 CONSTRAINT c_uni_ron_identification_bar UNIQUE(bar_ron_id, bar_identification),
 CONSTRAINT t_barreau_bar_pkey PRIMARY KEY(bar_id),
 CONSTRAINT c_fk_ron_bar FOREIGN KEY (bar_ron_id)
   REFERENCES public.t_rondelle_ron(ron_id)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.t_barreau_bar
IS 'Table des barreaux';

COMMENT ON COLUMN public.t_barreau_bar.bar_id
IS 'Identifiant unique automatique';

COMMENT ON COLUMN public.t_barreau_bar.bar_ron_id
IS 'Identifiant unique de la rondelle ayant servi au prélèvement';

COMMENT ON COLUMN public.t_barreau_bar.bar_identification
IS 'Identification permettant de distinguer notamment 2 barreaux d''une même rondelle (numéro ...)';

COMMENT ON COLUMN public.t_barreau_bar.bar_traitement
IS 'Précise les traitements appliqués au barreau ainsi que les dates d''application en format libre';

This file was generated with SQL Manager 2011 for PostgreSQL (www.pgsqlmanager.com) at 28/03/2012 14:37
Previous topic Chapter index Next topic