Tables |
tableinfo |
db |
dbxref |
tableinfo |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
tableinfo_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
name | varchar | 30 | UNIQUE, NOT NULL | ||
primary_key_column | varchar | 30 | NULL | ||
is_view | integer | 10 | 0 | NOT NULL | |
view_on_table_id | integer | 10 | NULL | ||
superclass_table_id | integer | 10 | NULL | ||
is_updateable | integer | 10 | 1 | NOT NULL | |
modification_date | date | 0 | now() | NOT NULL |
Type | Fields |
---|---|
NOT NULL | tableinfo_id |
NOT NULL | name |
NOT NULL | is_view |
NOT NULL | is_updateable |
NOT NULL | modification_date |
UNIQUE | name |
db |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
db_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
name | varchar | 255 | UNIQUE, NOT NULL | ||
description | varchar | 255 | NULL | contact_id int, | |
urlprefix | varchar | 255 | NULL | ||
url | varchar | 255 | NULL |
Type | Fields |
---|---|
NOT NULL | db_id |
NOT NULL | name |
UNIQUE | name |
dbxref |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
dbxref_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
db_id | integer | 10 | UNIQUE, NOT NULL | db.db_id | |
accession | varchar | 255 | UNIQUE, NOT NULL, The local part of the identifier. Guaranteed by the db authority to be unique for that db. | ||
version | varchar | 255 | UNIQUE, NOT NULL | ||
description | text | 64000 |
Name | Fields |
---|---|
dbxref_idx1 | db_id |
dbxref_idx2 | accession |
dbxref_idx3 | version |
Type | Fields |
---|---|
NOT NULL | dbxref_id |
NOT NULL | db_id |
FOREIGN KEY | db_id |
NOT NULL | accession |
NOT NULL | version |
UNIQUE | db_id, accession, version |