pggeodb.nancy.inra.fr/db_woodseer - db_woodseer on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Table: tr_unit_uni

 

 

Schema

public

 

Owner

woodseer

 

Tablespace

(default)

 

Descriptions

Table of measurement units

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

uni_id

serial

 

nextval('tr_unit_uni_uni_id_seq'::regclass)

Unique numeric identifier of the unit of measure

 

 

uni_symbol

varchar(15)

 

 

Symbol used to represent unit of measure (e.g. m for meter)

 

 

uni_name

varchar(50)

 

 

Common name of the unit of measurement

 

 

uni_description

varchar(255)

 

 

 

Description of the unit of measure

 

 

uni_data_type

varchar(255)

 

 

 

 

Current data type in which the data expressed in the measurement unit will be provided. For example numeric for measurements expressed in meters. This optional information is used to implement consistency checks.

 

Foreign Keys

There are no foreign keys for table tr_unit_uni

 

Check Constraints

There are no check constraints for table tr_unit_uni

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_uni_name_uni

btree

 

uni_name

 

The name of a unit must be unique

c_uni_symbol_uni

btree

 

uni_symbol

 

The symbol of a unit must be unique

tr_unit_uni_pkey

btree

 

uni_id

 

 

Triggers

There are no triggers for table tr_unit_uni

 

Rules

There are no rules for table tr_unit_uni

 

Policies

There are no policies for table tr_unit_uni

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

t_measure_macq

public

c_fk_uni_macq

macq_uni_id

public.tr_unit_uni

uni_id

No Action

No Action

 

Immediate

a measure can be attached to O or 1 unit

t_measure_mdet

public

c_fk_uni_mdet

mdet_uni_id

public.tr_unit_uni

uni_id

No Action

No Action

 

Immediate

a measure can be attached to O or 1 unit

t_measure_mobj

public

c_fk_uni_mobj

mobj_uni_id

public.tr_unit_uni

uni_id

No Action

No Action

 

Immediate

a measure can be attached to O or 1 unit

t_measure_mzon

public

c_fk_uni_mzon

mzon_uni_id

public.tr_unit_uni

uni_id

No Action

No Action

 

Immediate

a measure can be attached to 0 or 1 unit

 

Properties

Property

Value

Inherited From

 

Rows

23

Pages

1

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tr_unit_uni (
 uni_id SERIAL,
 uni_symbol VARCHAR(15) NOT NULL,
 uni_name VARCHAR(50) NOT NULL,
 uni_description VARCHAR(255) NOT NULL,
 uni_data_type VARCHAR(255),
 CONSTRAINT c_uni_name_uni UNIQUE(uni_name),
 CONSTRAINT c_uni_symbol_uni UNIQUE(uni_symbol),
 CONSTRAINT tr_unit_uni_pkey PRIMARY KEY(uni_id)
) ;

COMMENT ON TABLE public.tr_unit_uni
IS 'Table of measurement units';

COMMENT ON COLUMN public.tr_unit_uni.uni_id
IS 'Unique numeric identifier of the unit of measure';

COMMENT ON COLUMN public.tr_unit_uni.uni_symbol
IS 'Symbol used to represent unit of measure (e.g. m for meter)';

COMMENT ON COLUMN public.tr_unit_uni.uni_name
IS 'Common name of the unit of measurement';

COMMENT ON COLUMN public.tr_unit_uni.uni_description
IS 'Description of the unit of measure';

COMMENT ON COLUMN public.tr_unit_uni.uni_data_type
IS 'Current data type in which the data expressed in the measurement unit will be provided. For example numeric for measurements expressed in meters. This optional information is used to implement consistency checks.';

COMMENT ON CONSTRAINT c_uni_name_uni ON public.tr_unit_uni
IS 'The name of a unit must be unique';

COMMENT ON CONSTRAINT c_uni_symbol_uni ON public.tr_unit_uni
IS 'The symbol of a unit must be unique';

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