db_venik
Previous topic Chapter index Next topic

Table: sortie_conteneur_p

 

 

Schema

public

 

Owner

albenard

 

Tablespace

(default)

 

Descriptions

old : ADD CONSTRAINT sortie_conteneur_p_pkey PRIMARY KEY(idstock_p, idlot_pollen, idsortie_p)

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

 

idstock_p

integer

 

 

 

 

 

idlot_pollen

integer

 

 

 

 

idsortie_p

integer

 

 

 

 

 

 

conteneurs_sortis

integer

 

 

 

 

 

 

 

conteneurs_restants

integer

 

 

 

 

 

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

$1

idlot_pollen, idsortie_p

public.sortie_pollen

idlot_pollen, idsortie_p

No Action

No Action

 

Immediate

 

$2

idlot_pollen, num_stock_p

public.stockage_pollen

idlot_pollen, num_stock_p

Restrict

Restrict

 

Immediate

 

 

Check Constraints

There are no check constraints for table sortie_conteneur_p

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

sortie_conteneur_p_pkey

btree

 

idlot_pollen, idsortie_p, num_stock_p

 

 

Triggers

There are no triggers for table sortie_conteneur_p

 

Rules

There are no rules for table sortie_conteneur_p

 

Policies

There are no policies for table sortie_conteneur_p

 

Referenced

There are no tables referenced by table sortie_conteneur_p

 

Properties

Property

Value

Inherited From

 

Rows

197

Pages

2

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.sortie_conteneur_p (
 idstock_p INTEGER,
 idlot_pollen INTEGER NOT NULL,
 idsortie_p INTEGER NOT NULL,
 conteneurs_sortis INTEGER,
 conteneurs_restants INTEGER,
 num_stock_p INTEGER NOT NULL,
 CONSTRAINT sortie_conteneur_p_pkey PRIMARY KEY(idlot_pollen, idsortie_p, num_stock_p),
 FOREIGN KEY (idlot_pollen, idsortie_p)
   REFERENCES public.sortie_pollen(idlot_pollen, idsortie_p)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 FOREIGN KEY (idlot_pollen, num_stock_p)
   REFERENCES public.stockage_pollen(idlot_pollen, num_stock_p)
   ON DELETE RESTRICT
   ON UPDATE RESTRICT
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.sortie_conteneur_p
IS 'old : ADD CONSTRAINT sortie_conteneur_p_pkey PRIMARY KEY(idstock_p, idlot_pollen, idsortie_p)';

COMMENT ON COLUMN public.sortie_conteneur_p.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)
Previous topic Chapter index Next topic