Schema
Owner
postgres
Tablespace
(default)
Descriptions
There is no description for table itk
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
id_itk |
serial |
|
nextval('itk_id_itk_seq'::regclass) |
|
|||
|
|
culture |
varchar |
|
|
|
|
|
|
|
surface |
varchar |
|
|
|
|
|
|
|
intervention |
varchar |
|
|
|
|
|
|
|
campagne |
varchar |
|
|
|
|
|
|
|
variete |
varchar |
|
|
|
|
|
|
|
implantation |
varchar |
|
|
|
|
|
|
|
surface_totale |
varchar |
|
|
|
|
|
|
|
fumier |
varchar |
|
|
|
|
|
|
|
lisier |
varchar |
|
|
|
|
|
|
|
precedent |
varchar |
|
|
|
|
|
|
|
rendement |
varchar |
|
|
|
|
|
|
|
recolte |
varchar |
|
|
|
|
|
|
|
sol |
varchar |
|
|
|
|
|
|
parcelle |
integer |
|
|
|
|
|
|
|
|
code |
varchar |
|
|
|
|
|
|
|
rdt_real |
varchar |
|
|
|
|
|
|
|
analyse_sol |
varchar |
|
|
|
|
|
|
|
ilot |
varchar |
|
|
|
|
|
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
parcelle |
id_parcelle |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table itk
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
parcelle |
|
|
|
|
btree |
|
id_itk |
|
Triggers
There are no triggers for table itk
Rules
There are no rules for table itk
Policies
There are no policies for table itk
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
stk_itk_autre |
id_itk |
No Action |
No Action |
|
Immediate |
|
||||
stk_itk_ferti |
id_itk |
No Action |
No Action |
|
Immediate |
|
||||
stk_itk_protect |
id_itk |
No Action |
No Action |
|
Immediate |
|
||||
stk_itk_recolte |
id_itk |
No Action |
No Action |
|
Immediate |
|
||||
stk_itk_sem |
id_itk |
No Action |
No Action |
|
Immediate |
|
||||
stk_itk_trav |
id_itk |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
2 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.itk (
id_itk SERIAL,
culture VARCHAR,
surface VARCHAR,
intervention VARCHAR,
campagne VARCHAR,
variete VARCHAR,
implantation VARCHAR,
surface_totale VARCHAR,
fumier VARCHAR,
lisier VARCHAR,
precedent VARCHAR,
rendement VARCHAR,
recolte VARCHAR,
sol VARCHAR,
parcelle INTEGER,
code VARCHAR,
rdt_real VARCHAR,
analyse_sol VARCHAR,
ilot VARCHAR,
CONSTRAINT itk_pkey PRIMARY KEY(id_itk),
CONSTRAINT stk_parcel FOREIGN KEY (parcelle)
REFERENCES public.parcelle_diams(id_parcelle)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
CREATE INDEX fki_stk_parcel ON public.itk
USING btree (parcelle);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |