Schema
Owner
ychaval
Tablespace
(default)
Descriptions
Table containing details about the pathogen and it taxonomy
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
pat_id |
serial |
|
nextval('para_phy.tr_pathogen_pat_pat_id_seq'::regclass) |
ID of the pathogen |
|||
|
|
pat_name |
text |
|
|
Pathogen name |
||
|
|
pat_taxonomic_rank |
text |
|
|
|
Taxonomic rank of the pathogen |
|
|
|
pat_pathology |
text |
|
|
|
|
Pathology associated with the pathogen |
|
|
pat_ncbi_id |
integer |
|
|
|
|
National Center for BIotechnology id |
Foreign Keys
There are no foreign keys for table tr_pathogen_pat
Check Constraints
There are no check constraints for table tr_pathogen_pat
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
pat_name |
|
|
||
btree |
|
pat_id |
|
Triggers
There are no triggers for table tr_pathogen_pat
Rules
There are no rules for table tr_pathogen_pat
Policies
There are no policies for table tr_pathogen_pat
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
para_pat_id |
pat_id |
No Action |
No Action |
|
Immediate |
|
||||
eli_pat_id |
pat_id |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
83 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE para_phy.tr_pathogen_pat (
pat_id SERIAL,
pat_name TEXT NOT NULL,
pat_taxonomic_rank TEXT NOT NULL,
pat_pathology TEXT,
pat_ncbi_id INTEGER,
CONSTRAINT tr_pathogen_pat_pat_name_key UNIQUE(pat_name),
CONSTRAINT tr_pathogen_pat_pkey PRIMARY KEY(pat_id)
)
WITH (oids = false);
COMMENT ON TABLE para_phy.tr_pathogen_pat
IS 'Table containing details about the pathogen and it taxonomy';
COMMENT ON COLUMN para_phy.tr_pathogen_pat.pat_id
IS 'ID of the pathogen';
COMMENT ON COLUMN para_phy.tr_pathogen_pat.pat_name
IS 'Pathogen name';
COMMENT ON COLUMN para_phy.tr_pathogen_pat.pat_taxonomic_rank
IS 'Taxonomic rank of the pathogen';
COMMENT ON COLUMN para_phy.tr_pathogen_pat.pat_pathology
IS 'Pathology associated with the pathogen';
COMMENT ON COLUMN para_phy.tr_pathogen_pat.pat_ncbi_id
IS 'National Center for BIotechnology id';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |