db_ecological_db
Previous topic Chapter index Next topic

Table: t_service_serv

 

 

Schema

application

 

Owner

ecological_db

 

Tablespace

(default)

 

Descriptions

Table contenant les différents services (Unité pour le LDAP INRAe).

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

serv_id

serial

 

nextval('application.t_service_serv_serv_id_seq'::regclass)

Identifiant du service (postgres).

 

 

serv_ldap_uid

varchar(100)

 

 

 

 

Identifiant du service au sein du LDAP.

 

 

serv_code

varchar(100)

 

 

Code du service.

 

 

serv_libelle

varchar(255)

 

 

 

Libellé du service.

 

Foreign Keys

There are no foreign keys for table t_service_serv

 

Check Constraints

There are no check constraints for table t_service_serv

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_pk_t_service_serv

btree

 

serv_id

 

c_uni_code_serv

btree

 

serv_code

 

Contrainte d'unicité sur le code du service.

 

Triggers

There are no triggers for table t_service_serv

 

Rules

There are no rules for table t_service_serv

 

Policies

There are no policies for table t_service_serv

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

t_utilisateur_usr

application

c_fk_usr_serv

usr_serv_id

application.t_service_serv

serv_id

No Action

No Action

 

Immediate

Rattachement d'un service à un utilisateur.

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE application.t_service_serv (
 serv_id SERIAL,
 serv_ldap_uid VARCHAR(100),
 serv_code VARCHAR(100) NOT NULL,
 serv_libelle VARCHAR(255) NOT NULL,
 CONSTRAINT c_pk_t_service_serv PRIMARY KEY(serv_id),
 CONSTRAINT c_uni_code_serv UNIQUE(serv_code)
) ;

COMMENT ON TABLE application.t_service_serv
IS 'Table contenant les différents services (Unité pour le LDAP INRAe).';

COMMENT ON COLUMN application.t_service_serv.serv_id
IS 'Identifiant du service (postgres).';

COMMENT ON COLUMN application.t_service_serv.serv_ldap_uid
IS 'Identifiant du service au sein du LDAP.';

COMMENT ON COLUMN application.t_service_serv.serv_code
IS 'Code du service.';

COMMENT ON COLUMN application.t_service_serv.serv_libelle
IS 'Libellé du service.';

COMMENT ON CONSTRAINT c_uni_code_serv ON application.t_service_serv
IS 'Contrainte d''unicité sur le code du service.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com)
Previous topic Chapter index Next topic