Schema
Owner
globoxylo
Tablespace
(default)
Descriptions
Table contenant les différents services (Unité pour le LDAP INRAe).
Columns
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 | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
serv_id |
|
|||
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 | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
usr_serv_id |
serv_id |
No Action |
No Action |
|
Immediate |
Rattachement d'un service à un utilisateur. |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
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) |