Schema
Owner
pgd
Tablespace
(default)
Descriptions
Table des protocoles référencés dans la base
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
prot_id |
serial |
|
nextval('tr_protocole_prot_prot_id_seq'::regclass) |
Identifiant unique numérique du protocole |
|||
|
|
prot_nom |
varchar(50) |
|
|
Nom usuel unique du protocole |
||
|
|
prot_description |
varchar(255) |
|
|
|
Description succincte du protocole |
|
|
|
prot_url |
varchar(255) |
|
|
|
|
url d'accès au document protocole |
Foreign Keys
There are no foreign keys for table tr_protocole_prot
Check Constraints
There are no check constraints for table tr_protocole_prot
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
prot_nom |
|
Le nom du protocole doit être unique |
||
btree |
|
prot_id |
|
Triggers
There are no triggers for table tr_protocole_prot
Rules
There are no rules for table tr_protocole_prot
Policies
There are no policies for table tr_protocole_prot
Referenced
There are no tables referenced by table tr_protocole_prot
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_protocole_prot (
prot_id SERIAL,
prot_nom VARCHAR(50) NOT NULL,
prot_description VARCHAR(255) NOT NULL,
prot_url VARCHAR(255),
CONSTRAINT c_uni_nom_prot UNIQUE(prot_nom),
CONSTRAINT tr_protocole_prot_pkey PRIMARY KEY(prot_id)
) ;
COMMENT ON TABLE public.tr_protocole_prot
IS 'Table des protocoles référencés dans la base';
COMMENT ON COLUMN public.tr_protocole_prot.prot_id
IS 'Identifiant unique numérique du protocole';
COMMENT ON COLUMN public.tr_protocole_prot.prot_nom
IS 'Nom usuel unique du protocole';
COMMENT ON COLUMN public.tr_protocole_prot.prot_description
IS 'Description succincte du protocole';
COMMENT ON COLUMN public.tr_protocole_prot.prot_url
IS 'url d''accès au document protocole';
COMMENT ON CONSTRAINT c_uni_nom_prot ON public.tr_protocole_prot
IS 'Le nom du protocole doit être unique';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |