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

Table: cropperyear

 

 

Schema

public

 

Owner

seamless

 

Tablespace

(default)

 

Descriptions

a Rotation is build up of several CropPerYears, which means that one crop is grown in one year and attached to this year.http://ontologies.seamless-ip.org/prodent.owl#CropPerYear

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

id

bigint

 

 

 

 

crop

bigint

 

 

 

 

 

 

year_

bigint

 

 

 

 

 

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

fkb77b5a2af42c57e6

crop

public.crop

id

No Action

No Action

 

Immediate

 

fkb77b5a2af864532f

year_

public.rotationyear

id

No Action

No Action

 

Immediate

 

 

Checks

There are no check constraints for table cropperyear

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cropperyear_id_key

btree

 

id

 

 

cropperyear_pkey

btree

 

id

 

 

Triggers

There are no triggers for table cropperyear

 

Rules

There are no rules for table cropperyear

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

rotationcropperyear

public

fked1617cc191090a8

cropperyear_id

public.cropperyear

id

No Action

No Action

 

Immediate

 

 

Options

Option

Value

Inherited From

 

Rows

24490

Pages

169

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE "public"."cropperyear" (
 "id" BIGINT NOT NULL,
 "crop" BIGINT,
 "year_" BIGINT,
 CONSTRAINT "cropperyear_id_key" UNIQUE("id"),
 CONSTRAINT "cropperyear_pkey" PRIMARY KEY("id"),
 CONSTRAINT "fkb77b5a2af42c57e6" FOREIGN KEY ("crop")
   REFERENCES "public"."crop"("id")
   MATCH FULL
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE,
 CONSTRAINT "fkb77b5a2af864532f" FOREIGN KEY ("year_")
   REFERENCES "public"."rotationyear"("id")
   MATCH FULL
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
) WITH OIDS;

COMMENT ON TABLE "public"."cropperyear"
IS 'a Rotation is build up of several CropPerYears, which means that one crop is grown in one year and attached to this year.http://ontologies.seamless-ip.org/prodent.owl#CropPerYear';

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