SUBSTANCE 
Logical Entity Name  Substance 
Default Table Name  SUBSTANCE 
Physical Only  NO 
Do Not Generate  False 
Owner   
Definition 
Substance is used a CACHE of data from PubChem.  This cache can be removed if we can be assured that availability and capacity (for API queries) of PubChem will support dynamic use.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SUBSTANCE(
     SUBSTANCE_ID     NUMBER(19, 0)      NOT NULL,
     SMILES           VARCHAR2(4000),
     VERSION          NUMBER(38, 0)      DEFAULT 0 NOT NULL,
     DATE_CREATED     TIMESTAMP(6)       DEFAULT sysdate NOT NULL,
     LAST_UPDATED     TIMESTAMP(6),
     MODIFIED_BY      VARCHAR2(40),
     CONSTRAINT PK_SUBSTANCE PRIMARY KEY (SUBSTANCE_ID)
)
;



COMMENT ON TABLE SUBSTANCE IS 'Substance is used a CACHE of data from PubChem.   This cache can be removed if we can be assured that availability and capacity (for API queries) of PubChem will support dynamic use.'
;
 
PostSQL   

SUBSTANCE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SUBSTANCE_ID(PK)  Identifier  NUMBER(19, 0)  NO 
 
SMILES    VARCHAR2(4000)  YES 
 
VERSION  Version  NUMBER(38, 0)  NO 
 
DATE_CREATED  Date_Created  TIMESTAMP(6)  NO 
 
LAST_UPDATED  Last_Updated  TIMESTAMP(6)  YES 
 
MODIFIED_BY  Modified_by  VARCHAR2(40)  YES 
 

SUBSTANCE Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_SUBSTANCE  PrimaryKey  SUBSTANCE_ID 

SUBSTANCE Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

SUBSTANCE Check Constraints 
Check Constraint Name  CheckConstraint 

SUBSTANCE Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE   
PctFree   
PCTUSED    
MinExtents   
MaxExtents   
Initial   
Next   
PctIncrease   
InitTrans   
MaxTrans   
Organization  Heap 
Cache  NO 
Logging   
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS   
FREELIST GROUPS   
Buffer Pool   
Table Compression  NO 
Row Movement  Disabled 

SUBSTANCE Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 

SUBSTANCE Security Types 
Name  Current Value 

SUBSTANCE Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
Substance 
NO       
BARD - MySQL (MySQL)
Substance 
NO       
BARD_Dev (Oracle)
SUBSTANCE 
NO       
Current Production (Oracle)
BARD_CAP_PROD.SUBSTANCE 
NO       

SUBSTANCE Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
BARD - MySQL (MySQL)  Main Model 
BARD - MySQL (MySQL)  Data Entry 
BARD_Dev (Oracle)  Main Model 
Current Production (Oracle)  Main Model 
Current Production (Oracle)  Dictionary