Schema
Owner
postgres
Tablespace
(default)
Descriptions
There is no description for table itk_recolte
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
id_itk_recolte |
serial |
|
nextval('itk_recolte_id_itk_recolte_seq'::regclass) |
|
|||
|
|
date_recolte |
date |
|
|
|
|
|
|
|
operation_recolte |
varchar |
|
|
|
|
|
|
|
surf_recolte |
varchar |
|
|
|
|
|
|
|
produit_recolte |
varchar |
|
|
|
|
|
|
|
rdt_recolte |
varchar |
|
|
|
|
|
|
|
quantite_recolte |
varchar |
|
|
|
|
|
|
|
unite_recolte |
varchar |
|
|
|
|
|
|
|
details_recolte |
varchar |
|
|
|
|
|
|
stk_itk_recolte |
integer |
|
|
|
|
|
|
|
|
info_recolte |
varchar |
|
|
|
|
|
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
stk_itk_recolte |
id_itk |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table itk_recolte
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
stk_itk_recolte |
|
|
|
|
btree |
|
id_itk_recolte |
|
Triggers
There are no triggers for table itk_recolte
Rules
There are no rules for table itk_recolte
Policies
There are no policies for table itk_recolte
Referenced
There are no tables referenced by table itk_recolte
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
2 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.itk_recolte (
id_itk_recolte SERIAL,
date_recolte DATE,
operation_recolte VARCHAR,
surf_recolte VARCHAR,
produit_recolte VARCHAR,
rdt_recolte VARCHAR,
quantite_recolte VARCHAR,
unite_recolte VARCHAR,
details_recolte VARCHAR,
stk_itk_recolte INTEGER,
info_recolte VARCHAR,
CONSTRAINT pmk_itk_recolte PRIMARY KEY(id_itk_recolte),
CONSTRAINT st_itk_recolte FOREIGN KEY (stk_itk_recolte)
REFERENCES public.itk(id_itk)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
CREATE INDEX fki_st_itk_recolte ON public.itk_recolte
USING btree (stk_itk_recolte);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |