Schema
Owner
postgres
Tablespace
(default)
Descriptions
Table des niveaux appliqués
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
niv_id |
serial |
|
nextval('tr_niveau_niv_niv_id_seq'::regclass) |
identifiant automatique numérique du niveau |
|||
|
|
niv_code |
varchar(24) |
|
|
code unique du niveau |
||
|
|
niv_nom |
varchar(48) |
|
|
|
Nom clair du niveau |
|
|
|
niv_description |
varchar(255) |
|
|
|
Description du niveau |
Foreign Keys
There are no foreign keys for table tr_niveau_niv
Check Constraints
There are no check constraints for table tr_niveau_niv
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
niv_code |
|
Le code du niveau est unique |
||
btree |
|
niv_id |
|
Triggers
There are no triggers for table tr_niveau_niv
Rules
There are no rules for table tr_niveau_niv
Policies
There are no policies for table tr_niveau_niv
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
defm_niv_id |
niv_id |
No Action |
No Action |
|
Immediate |
L'association est rattachée à un et un seul niveau |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_niveau_niv (
niv_id SERIAL,
niv_code VARCHAR(24) NOT NULL,
niv_nom VARCHAR(48) NOT NULL,
niv_description VARCHAR(255) NOT NULL,
CONSTRAINT c_uni_code_niv UNIQUE(niv_code),
CONSTRAINT tr_niveau_niv_pkey PRIMARY KEY(niv_id)
) ;
COMMENT ON TABLE public.tr_niveau_niv
IS 'Table des niveaux appliqués';
COMMENT ON COLUMN public.tr_niveau_niv.niv_id
IS 'identifiant automatique numérique du niveau';
COMMENT ON COLUMN public.tr_niveau_niv.niv_code
IS 'code unique du niveau';
COMMENT ON COLUMN public.tr_niveau_niv.niv_nom
IS 'Nom clair du niveau';
COMMENT ON COLUMN public.tr_niveau_niv.niv_description
IS 'Description du niveau';
COMMENT ON CONSTRAINT c_uni_code_niv ON public.tr_niveau_niv
IS 'Le code du niveau est unique';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |