Schema
Owner
albenard
Tablespace
(default)
Descriptions
There is no description for table stockage_pollen
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
|
idstock_p |
serial |
|
|
nextval('stockage_pollen_idstock_p_seq'::regclass) |
|
|
|
idlc_cond_stock_p |
integer |
|
|
|
|
|
|
|
idemplacement |
integer |
|
|
|
|
|
|
idlot_pollen |
integer |
|
|
|
|
|||
|
|
commentaire |
text |
|
|
|
|
|
|
|
hauteur |
varchar(8) |
|
|
|
|
|
|
|
rangee |
varchar(8) |
|
|
|
|
|
|
|
nb_conteneur |
integer |
|
|
|
|
|
|
|
recup_pollen |
varchar(50) |
|
|
|
|
|
|
|
recup_code_stock |
varchar(50) |
|
|
|
|
|
|
num_stock_p |
integer |
|
|
|
2-1-08. En vue de remplacer l idstock_p pour faciliter la saisie en série |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
idlc_cond_stock_p |
id_lc |
No Action |
No Action |
|
Immediate |
|
||
idemplacement |
idemplacement |
No Action |
No Action |
|
Immediate |
|
||
idlot_pollen |
idlot_pollen |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table stockage_pollen
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
idlot_pollen, num_stock_p |
|
|
||
btree |
|
idlot_pollen, num_stock_p |
|
Triggers
There are no triggers for table stockage_pollen
Rules
There are no rules for table stockage_pollen
Policies
There are no policies for table stockage_pollen
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
idlot_pollen, num_stock_p |
idlot_pollen, num_stock_p |
Restrict |
Restrict |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
2612 |
Pages |
27 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.stockage_pollen (
idstock_p SERIAL,
idlc_cond_stock_p INTEGER,
idemplacement INTEGER,
idlot_pollen INTEGER NOT NULL,
commentaire TEXT,
hauteur VARCHAR(8),
rangee VARCHAR(8),
nb_conteneur INTEGER,
recup_pollen VARCHAR(50),
recup_code_stock VARCHAR(50),
num_stock_p INTEGER NOT NULL,
CONSTRAINT stockage_pollen_idlot_pollen_key UNIQUE(idlot_pollen, num_stock_p),
CONSTRAINT stockage_pollen_pkey PRIMARY KEY(idlot_pollen, num_stock_p),
CONSTRAINT fk_cond_stock_p FOREIGN KEY (idlc_cond_stock_p)
REFERENCES public.donnees_liste_classique(id_lc)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT fk_stockage_pollen_emplacement FOREIGN KEY (idemplacement)
REFERENCES public.emplacement(idemplacement)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT fk_stockage_pollen_pollen FOREIGN KEY (idlot_pollen)
REFERENCES public.pollen(idlot_pollen)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON COLUMN public.stockage_pollen.num_stock_p
IS '2-1-08. En vue de remplacer l idstock_p pour faciliter la saisie en série';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |