db_ecological_db
Previous topic Chapter index Next topic

Table: t_permission_perm

 

 

Schema

application

 

Owner

ecological_db

 

Tablespace

(default)

 

Descriptions

Table contenant les différentes permissions pouvant être affectées aux rôles.

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

perm_id

serial

 

nextval('application.t_permission_perm_perm_id_seq'::regclass)

Identifant (postgres) de la permission.

 

 

perm_libelle

varchar(100)

 

 

Libellé unique de la permission.

 

 

perm_description

varchar(255)

 

 

 

Description des droits donnés par la permission.

 

Foreign Keys

There are no foreign keys for table t_permission_perm

 

Check Constraints

There are no check constraints for table t_permission_perm

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_pk_t_permission_perm

btree

 

perm_id

 

c_uni_libelle_perm

btree

 

perm_libelle

 

Unicité sur le libellé de la permission.

 

Triggers

There are no triggers for table t_permission_perm

 

Rules

There are no rules for table t_permission_perm

 

Policies

There are no policies for table t_permission_perm

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

tj_apermission_rol_perm_aperm

application

c_fk_perm_aperm

aperm_perm_id

application.t_permission_perm

perm_id

Cascade

No Action

 

Immediate

Association d'une permission à un rôle.

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE application.t_permission_perm (
 perm_id SERIAL,
 perm_libelle VARCHAR(100) NOT NULL,
 perm_description VARCHAR(255) NOT NULL,
 CONSTRAINT c_pk_t_permission_perm PRIMARY KEY(perm_id),
 CONSTRAINT c_uni_libelle_perm UNIQUE(perm_libelle)
) ;

COMMENT ON TABLE application.t_permission_perm
IS 'Table contenant les différentes permissions pouvant être affectées aux rôles.';

COMMENT ON COLUMN application.t_permission_perm.perm_id
IS 'Identifant (postgres) de la permission.';

COMMENT ON COLUMN application.t_permission_perm.perm_libelle
IS 'Libellé unique de la permission.';

COMMENT ON COLUMN application.t_permission_perm.perm_description
IS 'Description des droits donnés par la permission.';

COMMENT ON CONSTRAINT c_uni_libelle_perm ON application.t_permission_perm
IS 'Unicité sur le libellé de la permission.';

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