Schema
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 |
---|---|---|---|---|---|---|
btree |
|
prot_name |
|
Protocol name must be unique |
||
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 |
---|---|---|---|---|---|---|---|---|---|---|
grp_prot_id |
prot_id |
No Action |
No Action |
|
Immediate |
a grouping can be attached to O or 1 protocol |
||||
msam_prot_id |
prot_id |
No Action |
No Action |
|
Immediate |
a measure can be attached to O or 1 protocol |
||||
mtre_prot_id |
prot_id |
No Action |
No Action |
|
Immediate |
a measure can be attached to O or 1 protocol |
||||
mzon_prot_id |
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) |