seamdb_final 15th of April 2009
Previous topic Chapter index Next topic

Table: crop

 

 

Schema

public

 

Owner

seamless

 

Tablespace

(default)

 

Descriptions

This is the classification list of crops we are using in Seamless. Crops are defined in the most fine level, i.e. that of APES and FSSIMhttp://ontologies.seamless-ip.org/crop.owl#Crop

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

id

bigint

 

 

 

 

 

label_en

varchar(255)

 

 

 

 

 

 

 

label_gms

varchar(255)

 

 

 

 

 

 

 

label_aps

varchar(255)

 

 

 

 

 

 

 

harvestindex

real

 

 

 

 

 

 

 

iswintercrop

boolean

 

 

 

 

 

 

 

nitrogencontent

real

 

 

 

 

 

 

 

watersensitive

boolean

 

 

 

 

 

 

cropclimaterequirements

bigint

 

 

 

 

 

 

cropsoilrequirements

bigint

 

 

 

 

 

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

fk202eb0c01b5778

cropclimaterequirements

public.cropclimaterequirements

id

No Action

No Action

 

Immediate

 

fk202eb0dc3e8710

cropsoilrequirements

public.cropsoilrequirements

id

No Action

No Action

 

Immediate

 

 

Checks

There are no check constraints for table crop

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

crop_id_key

btree

 

id

 

 

crop_pkey

btree

 

id

 

 

Triggers

There are no triggers for table crop

 

Rules

There are no rules for table crop

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

conservationoptionscrops

public

fkc9e5020231df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

cropgroupcropsetofcrops

public

fkab8207c931df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

cropmanagementrule

public

fk28e930aff42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

cropnitrogenrecoveries

public

fk18c62dd31df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

cropperyear

public

fkb77b5a2af42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

cropproduct

public

fkcd85501fb733a23d

ofcrop

public.crop

id

No Action

No Action

 

Immediate

 

croprotationrequirements

public

fkfc60edfe289c89f5

iscroprotationrequirementsof

public.crop

id

No Action

No Action

 

Immediate

 

croprotationrequirementsnotpossiblepreviouscrops

public

fk46fbc44631df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

cropyearmanagement

public

fk5f8cfb30f42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

indicatorvaluecrop

public

fk851e1e72f42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

intercropping

public

fkaf296cbe11f1eec2

intercrop

public.crop

id

No Action

No Action

 

Immediate

 

nutrientmanagementcrops

public

fka683865931df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

surveycroprotationelement

public

fkd961e714f42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

watermanagementcrops

public

fkeb04576931df8a80

crop_id

public.crop

id

No Action

No Action

 

Immediate

 

 

Options

Option

Value

Inherited From

 

Rows

104

Pages

2

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE "public"."crop" (
 "id" BIGINT NOT NULL,
 "label_en" VARCHAR(255),
 "label_gms" VARCHAR(255),
 "label_aps" VARCHAR(255),
 "harvestindex" REAL,
 "iswintercrop" BOOLEAN,
 "nitrogencontent" REAL,
 "watersensitive" BOOLEAN,
 "cropclimaterequirements" BIGINT,
 "cropsoilrequirements" BIGINT,
 CONSTRAINT "crop_id_key" UNIQUE("id"),
 CONSTRAINT "crop_pkey" PRIMARY KEY("id"),
 CONSTRAINT "fk202eb0c01b5778" FOREIGN KEY ("cropclimaterequirements")
   REFERENCES "public"."cropclimaterequirements"("id")
   MATCH FULL
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE,
 CONSTRAINT "fk202eb0dc3e8710" FOREIGN KEY ("cropsoilrequirements")
   REFERENCES "public"."cropsoilrequirements"("id")
   MATCH FULL
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
) WITH OIDS;

COMMENT ON TABLE "public"."crop"
IS 'This is the classification list of crops we are using in Seamless. Crops are defined in the most fine level, i.e. that of APES and FSSIMhttp://ontologies.seamless-ip.org/crop.owl#Crop';

This file was generated by Erling Andersen eran@life.ku.dk
Previous topic Chapter index Next topic