db.silva.inrae.fr/db_biljou_param - db_biljou_param on db.silva.inrae.fr
Previous topic Chapter index Next topic

Table: tr_usage_usg

 

 

Schema

public

 

Owner

postgres

 

Tablespace

(default)

 

Descriptions

table contenant les différents usages possibles des variables

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

usg_id

serial

 

nextval('tr_usage_usg_usg_id_seq'::regclass)

Identifiant automatique numérique de l'usage

 

 

usg_nom

varchar(30)

 

 

 

nom de l'usage

 

 

usg_description

varchar(250)

 

 

 

description de l'usage

 

 

usg_code

varchar(16)

 

 

code unique de l'usage

 

Foreign Keys

There are no foreign keys for table tr_usage_usg

 

Check Constraints

There are no check constraints for table tr_usage_usg

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

c_uni_code_usg

btree

 

usg_code

 

le code de l'usage doit être unique

tr_utilisation_uti_pkey

btree

 

usg_id

 

 

Triggers

There are no triggers for table tr_usage_usg

 

Rules

There are no rules for table tr_usage_usg

 

Policies

There are no policies for table tr_usage_usg

 

Referenced

Table

Schema

Foreign Key

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

tj_usage_variable_usv

public

c_fk_usg_usv

usv_usg_id

public.tr_usage_usg

usg_id

No Action

No Action

 

Immediate

Un lien usage / variable est rattaché à un et un seul usage

 

Properties

Property

Value

Inherited From

 

Rows

2

Pages

1

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tr_usage_usg (
 usg_id SERIAL,
 usg_nom VARCHAR(30) NOT NULL,
 usg_description VARCHAR(250) NOT NULL,
 usg_code VARCHAR(16) NOT NULL,
 CONSTRAINT c_uni_code_usg UNIQUE(usg_code),
 CONSTRAINT tr_utilisation_uti_pkey PRIMARY KEY(usg_id)
) ;

COMMENT ON TABLE public.tr_usage_usg
IS 'table contenant les différents usages possibles des variables';

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

COMMENT ON COLUMN public.tr_usage_usg.usg_nom
IS 'nom de l''usage';

COMMENT ON COLUMN public.tr_usage_usg.usg_description
IS 'description de l''usage';

COMMENT ON COLUMN public.tr_usage_usg.usg_code
IS 'code unique de l''usage';

COMMENT ON CONSTRAINT c_uni_code_usg ON public.tr_usage_usg
IS 'le code de l''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