db_globoxylo
Previous topic Chapter index Next topic

Table: tr_protocol_prot

 

 

Schema

public

 

Owner

globoxylo

 

Tablespace

(default)

 

Descriptions

Table of protocols referenced in the database

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

prot_id

serial

 

nextval('tr_protocol_prot_prot_id_seq'::regclass)

Unique numeric identifier of the protocol

 

 

prot_name

varchar(50)

 

 

Unique common name of the protocol

 

 

prot_description

varchar(255)

 

 

 

Brief description of the protocol

 

 

prot_url

varchar(255)

 

 

 

 

url for accessing the protocol document

 

Foreign Keys

There are no foreign keys for table tr_protocol_prot

 

Check Constraints

There are no check constraints for table tr_protocol_prot

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

c_uni_name_prot

btree

 

prot_name

 

Protocol name must be unique

tr_protocol_prot_pkey

btree

 

prot_id

 

 

Triggers

There are no triggers for table tr_protocol_prot

 

Rules

There are no rules for table tr_protocol_prot

 

Policies

There are no policies for table tr_protocol_prot

 

Referenced

Table

Schema

Foreign Key

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

t_grouping_grp

public

c_fk_prot_grp

grp_prot_id

public.tr_protocol_prot

prot_id

No Action

No Action

 

Immediate

a grouping can be attached to O or 1 protocol

t_measure_msam

public

c_fk_prot_msam

msam_prot_id

public.tr_protocol_prot

prot_id

No Action

No Action

 

Immediate

a measure can be attached to O or 1 protocol

t_measure_mtre

public

c_fk_prot_mtre

mtre_prot_id

public.tr_protocol_prot

prot_id

No Action

No Action

 

Immediate

a measure can be attached to O or 1 protocol

t_measure_mzon

public

c_fk_prot_mzon

mzon_prot_id

public.tr_protocol_prot

prot_id

No Action

No Action

 

Immediate

a measurement can be attached to O or 1 protocol

 

Properties

Property

Value

Inherited From

 

Rows

-1

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tr_protocol_prot (
 prot_id SERIAL,
 prot_name VARCHAR(50) NOT NULL,
 prot_description VARCHAR(255) NOT NULL,
 prot_url VARCHAR(255),
 CONSTRAINT c_uni_name_prot UNIQUE(prot_name),
 CONSTRAINT tr_protocol_prot_pkey PRIMARY KEY(prot_id)
) ;

COMMENT ON TABLE public.tr_protocol_prot
IS 'Table of protocols referenced in the database';

COMMENT ON COLUMN public.tr_protocol_prot.prot_id
IS 'Unique numeric identifier of the protocol';

COMMENT ON COLUMN public.tr_protocol_prot.prot_name
IS 'Unique common name of the protocol';

COMMENT ON COLUMN public.tr_protocol_prot.prot_description
IS 'Brief description of the protocol';

COMMENT ON COLUMN public.tr_protocol_prot.prot_url
IS 'url for accessing the protocol document';

COMMENT ON CONSTRAINT c_uni_name_prot ON public.tr_protocol_prot
IS 'Protocol name must be unique';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com)
Previous topic Chapter index Next topic