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