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