Schema
Owner
globoxylo
Tablespace
(default)
Descriptions
Table contenant les différentes permissions pouvant être affectées aux rôles.
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
perm_id |
serial |
|
nextval('application.tr_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 tr_permission_perm
Check Constraints
There are no check constraints for table tr_permission_perm
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
perm_id |
|
|||
btree |
|
perm_libelle |
|
Unicité sur le libellé de la permission. |
Triggers
There are no triggers for table tr_permission_perm
Rules
There are no rules for table tr_permission_perm
Policies
There are no policies for table tr_permission_perm
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
aperm_perm_id |
perm_id |
Cascade |
No Action |
|
Immediate |
Association d'une permission à un rôle. |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE application.tr_permission_perm (
perm_id SERIAL,
perm_libelle VARCHAR(100) NOT NULL,
perm_description VARCHAR(255) NOT NULL,
CONSTRAINT c_pk_tr_permission_perm PRIMARY KEY(perm_id),
CONSTRAINT c_uni_libelle_perm UNIQUE(perm_libelle)
) ;
COMMENT ON TABLE application.tr_permission_perm
IS 'Table contenant les différentes permissions pouvant être affectées aux rôles.';
COMMENT ON COLUMN application.tr_permission_perm.perm_id
IS 'Identifant (postgres) de la permission.';
COMMENT ON COLUMN application.tr_permission_perm.perm_libelle
IS 'Libellé unique de la permission.';
COMMENT ON COLUMN application.tr_permission_perm.perm_description
IS 'Description des droits donnés par la permission.';
COMMENT ON CONSTRAINT c_uni_libelle_perm ON application.tr_permission_perm
IS 'Unicité sur le libellé de la permission.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |