Schema
public
Owner
robot
Tablespace
(default)
Descriptions
Tables des incidents survenus pendant les projets.
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
inc_id |
serial |
|
nextval('t_incident_inc_inc_id_seq'::regclass) |
Identifiant numérique automatique de chaque incident |
|||
|
|
inc_date |
date |
|
|
|
Date de l'incident |
|
|
|
inc_heure |
time(6) |
|
|
|
|
Heure de l'incident |
|
|
inc_information |
varchar(255) |
|
|
|
|
Texte libre pour caractériser l'incident |
|
inc_pjt_id |
integer |
|
|
|
|
Identifiant numérique automatique du projet auquel l'incident est rattaché |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
inc_pjt_id |
pjt_id |
Cascade |
Cascade |
|
Immediate |
Un incident est associé à un et un seul projet |
Check Constraints
There are no check constraints for table t_incident_inc
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
inc_id |
|
Triggers
There are no triggers for table t_incident_inc
Rules
There are no rules for table t_incident_inc
Policies
There are no policies for table t_incident_inc
Referenced
There are no tables referenced by table t_incident_inc
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.t_incident_inc (
inc_id SERIAL,
inc_date DATE NOT NULL,
inc_heure TIME(6) WITHOUT TIME ZONE,
inc_information VARCHAR(255),
inc_pjt_id INTEGER,
CONSTRAINT t_incident_inc_pkey PRIMARY KEY(inc_id),
CONSTRAINT c_fk_pjt_fic FOREIGN KEY (inc_pjt_id)
REFERENCES public.t_projet_pjt(pjt_id)
ON DELETE CASCADE
ON UPDATE CASCADE
NOT DEFERRABLE
)
WITH (oids = false);
COMMENT ON TABLE public.t_incident_inc
IS 'Tables des incidents survenus pendant les projets.';
COMMENT ON COLUMN public.t_incident_inc.inc_id
IS 'Identifiant numérique automatique de chaque incident';
COMMENT ON COLUMN public.t_incident_inc.inc_date
IS 'Date de l''incident';
COMMENT ON COLUMN public.t_incident_inc.inc_heure
IS 'Heure de l''incident';
COMMENT ON COLUMN public.t_incident_inc.inc_information
IS 'Texte libre pour caractériser l''incident';
COMMENT ON COLUMN public.t_incident_inc.inc_pjt_id
IS 'Identifiant numérique automatique du projet auquel l''incident est rattaché';
COMMENT ON CONSTRAINT c_fk_pjt_fic ON public.t_incident_inc
IS 'Un incident est associé à un et un seul projet';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51 |