Schema
Owner
biljoucarto
Tablespace
(default)
Descriptions
Table des paramètres
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
par_id |
serial |
|
nextval('tr_parametre_par_par_id_seq'::regclass) |
Identifiant |
|||
|
|
par_libelle_fr |
varchar(50) |
|
|
|
|
Libellé du paramètre en français |
|
|
par_libelle_en |
varchar(50) |
|
|
|
|
Libellé du paramètre en anglais |
|
|
par_code_fr |
varchar(8) |
|
|
|
|
Code du paramètre en français |
|
|
par_code_en |
varchar(8) |
|
|
|
|
Code du paramètre en anglais |
|
|
par_ordre |
integer |
|
|
|
|
Position du paramètre dans le nom de la combinaison |
Foreign Keys
There are no foreign keys for table tr_parametre_par
Check Constraints
There are no check constraints for table tr_parametre_par
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
par_libelle_fr, par_libelle_en, par_code_fr, par_code_en, par_ordre |
|
|
||
btree |
|
par_id |
|
Triggers
There are no triggers for table tr_parametre_par
Rules
There are no rules for table tr_parametre_par
Policies
There are no policies for table tr_parametre_par
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
combp_par_id |
par_id |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
5 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_parametre_par (
par_id SERIAL,
par_libelle_fr VARCHAR(50),
par_libelle_en VARCHAR(50),
par_code_fr VARCHAR(8),
par_code_en VARCHAR(8),
par_ordre INTEGER,
CONSTRAINT c_uni_par UNIQUE(par_libelle_fr, par_libelle_en, par_code_fr, par_code_en, par_ordre),
CONSTRAINT tr_parametre_par_pkey PRIMARY KEY(par_id)
) ;
COMMENT ON TABLE public.tr_parametre_par
IS 'Table des paramètres';
COMMENT ON COLUMN public.tr_parametre_par.par_id
IS 'Identifiant';
COMMENT ON COLUMN public.tr_parametre_par.par_libelle_fr
IS 'Libellé du paramètre en français ';
COMMENT ON COLUMN public.tr_parametre_par.par_libelle_en
IS 'Libellé du paramètre en anglais';
COMMENT ON COLUMN public.tr_parametre_par.par_code_fr
IS 'Code du paramètre en français';
COMMENT ON COLUMN public.tr_parametre_par.par_code_en
IS 'Code du paramètre en anglais';
COMMENT ON COLUMN public.tr_parametre_par.par_ordre
IS 'Position du paramètre dans le nom de la combinaison';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |
![]() ![]() ![]() |