pggeodb-preprod.nancy.inra.fr/db_diams
Previous topic Chapter index Next topic

Table: itk_protection

 

 

Schema

public

 

Owner

postgres

 

Tablespace

(default)

 

Descriptions

There is no description for table itk_protection

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

id_itk_protection

serial

 

nextval('itk_protection_id_itk_protection_seq'::regclass)

 

 

 

date_protect

date

 

 

 

 

 

 

 

operation_protect

varchar

 

 

 

 

 

 

 

surf_protect

varchar

 

 

 

 

 

 

 

bouillie

varchar

 

 

 

 

 

 

 

traitement

varchar

 

 

 

 

 

 

 

cible

varchar

 

 

 

 

 

 

 

dar

varchar

 

 

 

 

 

 

 

dose_protect

varchar

 

 

 

 

 

 

 

quantite_protect

varchar

 

 

 

 

 

 

 

unite_protect

varchar

 

 

 

 

 

 

 

info_traitement

varchar

 

 

 

 

 

 

 

traitement2

varchar

 

 

 

 

 

 

 

cible2

varchar

 

 

 

 

 

 

 

dar2

varchar

 

 

 

 

 

 

 

dose_2_protect

varchar

 

 

 

 

 

 

 

quantite_2_protect

varchar

 

 

 

 

 

 

 

unite_2_protect

varchar

 

 

 

 

 

 

 

info_2_traitement

varchar

 

 

 

 

 

 

 

details_protect

varchar

 

 

 

 

 

 

stk_itk_protect

integer

 

 

 

 

 

 

Foreign Keys

Name

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

sk_itk_protect

stk_itk_protect

public.itk

id_itk

No Action

No Action

 

Immediate

 

 

Check Constraints

There are no check constraints for table itk_protection

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

fki_sk_itk_protect

btree

 

stk_itk_protect

 

 

 

pmk_itk_protection

btree

 

id_itk_protection

 

 

Triggers

There are no triggers for table itk_protection

 

Rules

There are no rules for table itk_protection

 

Policies

There are no policies for table itk_protection

 

Referenced

There are no tables referenced by table itk_protection

 

Properties

Property

Value

Inherited From

 

Rows

2

Pages

1

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.itk_protection (
 id_itk_protection SERIAL,
 date_protect DATE,
 operation_protect VARCHAR,
 surf_protect VARCHAR,
 bouillie VARCHAR,
 traitement VARCHAR,
 cible VARCHAR,
 dar VARCHAR,
 dose_protect VARCHAR,
 quantite_protect VARCHAR,
 unite_protect VARCHAR,
 info_traitement VARCHAR,
 traitement2 VARCHAR,
 cible2 VARCHAR,
 dar2 VARCHAR,
 dose_2_protect VARCHAR,
 quantite_2_protect VARCHAR,
 unite_2_protect VARCHAR,
 info_2_traitement VARCHAR,
 details_protect VARCHAR,
 stk_itk_protect INTEGER,
 CONSTRAINT pmk_itk_protection PRIMARY KEY(id_itk_protection),
 CONSTRAINT sk_itk_protect FOREIGN KEY (stk_itk_protect)
   REFERENCES public.itk(id_itk)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

CREATE INDEX fki_sk_itk_protect ON public.itk_protection
 USING btree (stk_itk_protect);

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23
Previous topic Chapter index Next topic