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

Table: tr_usage_usa

 

 

Schema

public

 

Owner

postgres

 

Tablespace

(default)

 

Descriptions

Table des usages pour un dispositif. Informations relatives aux usages d'un dispositif (ex; selection pour Insylva)

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

usa_id

serial

 

nextval('tr_usage_usa_usa_id_seq'::regclass)

Identifiant automatique numérique de l'usage

 

 

usa_libelle

varchar(50)

 

 

Libelle de l'usage

 

Foreign Keys

There are no foreign keys for table tr_usage_usa

 

Check Constraints

There are no check constraints for table tr_usage_usa

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_uni_libelle_usa

btree

 

usa_libelle

 

Le libelle d'un usage doit être unique

tr_usage_usa_pkey

btree

 

usa_id

 

 

Triggers

There are no triggers for table tr_usage_usa

 

Rules

There are no rules for table tr_usage_usa

 

Policies

There are no policies for table tr_usage_usa

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

tj_usage_dispositif_usdi

public

c_fk_usa_usdi

usdi_usa_id

public.tr_usage_usa

usa_id

No Action

No Action

 

Immediate

Le champ usdi_usa_id correspond obligatoirement à un usage existant

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

 

Definition

CREATE TABLE public.tr_usage_usa (
 usa_id SERIAL,
 usa_libelle VARCHAR(50) NOT NULL,
 CONSTRAINT c_uni_libelle_usa UNIQUE(usa_libelle),
 CONSTRAINT tr_usage_usa_pkey PRIMARY KEY(usa_id)
)
WITH (oids = false);

COMMENT ON TABLE public.tr_usage_usa
IS 'Table des usages pour un dispositif. Informations relatives aux usages d''un dispositif (ex; selection pour Insylva)';

COMMENT ON COLUMN public.tr_usage_usa.usa_id
IS 'Identifiant automatique numérique de l''usage';

COMMENT ON COLUMN public.tr_usage_usa.usa_libelle
IS 'Libelle de l''usage';

COMMENT ON CONSTRAINT c_uni_libelle_usa ON public.tr_usage_usa
IS 'Le libelle d''un usage doit être 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