Schema
Owner
albenard
Tablespace
(default)
Descriptions
There is no description for table groupe_peup_lieu
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
idgroupe_peuplement |
serial |
|
nextval('groupe_peup_lieu_idgroupe_peuplement_seq'::regclass) |
|
|||
|
|
nom_groupe |
varchar(70) |
|
|
|
||
|
|
description_groupe |
text |
|
|
|
|
|
|
|
date_creation |
date |
|
|
|
|
ajout HVS |
|
|
date_maj |
date |
|
|
|
|
ajout HVS |
|
iduser |
integer |
|
|
|
|
12-10-2007 tracabiltté |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
iduser |
iduser |
Restrict |
Restrict |
|
Immediate |
|
Check Constraints
There are no check constraints for table groupe_peup_lieu
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
iduser |
|
|
|
|
btree |
|
nom_groupe |
|
|
||
btree |
|
idgroupe_peuplement |
|
Triggers
There are no triggers for table groupe_peup_lieu
Rules
There are no rules for table groupe_peup_lieu
Policies
There are no policies for table groupe_peup_lieu
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
idgroupe_peuplement |
idgroupe_peuplement |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.groupe_peup_lieu (
idgroupe_peuplement SERIAL,
nom_groupe VARCHAR(70) NOT NULL,
description_groupe TEXT,
date_creation DATE,
date_maj DATE,
iduser INTEGER,
CONSTRAINT groupe_peup_lieu_nom_groupe_key UNIQUE(nom_groupe),
CONSTRAINT pk_groupe_peup_lieu PRIMARY KEY(idgroupe_peuplement),
CONSTRAINT fk_groupe_peup_iduser FOREIGN KEY (iduser)
REFERENCES public.utilisateur(iduser)
ON DELETE RESTRICT
ON UPDATE RESTRICT
NOT DEFERRABLE
) ;
COMMENT ON COLUMN public.groupe_peup_lieu.date_creation
IS 'ajout HVS';
COMMENT ON COLUMN public.groupe_peup_lieu.date_maj
IS 'ajout HVS';
COMMENT ON COLUMN public.groupe_peup_lieu.iduser
IS '12-10-2007 tracabiltté';
CREATE INDEX fki_groupe_peup_iduser ON public.groupe_peup_lieu
USING btree (iduser);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |