Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| compliance_inspection_id | int8 | 19 | null | 
                                         | 
                                    
                                         | 
                                    System generated sequence number to uniquely identify a COMPLIANCE INSPECTION  | 
                                |||||
| alr_appl_decision_id | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    System generated sequence number to uniquely identify a ALR APPL DECISION  | 
                                |||||
| inspection_date | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    Date the COMPLIANCE INSPECTION occurred.  | 
                                |||||
| inspector | varchar | 50 | null | 
                                         | 
                                    
                                         | 
                                    Description of the person(s) who conducted the inspection.  | 
                                |||||
| description | varchar | 4000 | null | 
                                         | 
                                    
                                         | 
                                    Description of the COMPLIANCE INSPECTION  | 
                                |||||
| who_created | varchar | 32 | null | 
                                         | 
                                    
                                         | 
                                    WHO CREATED is the IDIR or Oracle userid of the person who created the record.  | 
                                |||||
| when_created | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    WHEN CREATED is the date/time that the record was created.  | 
                                |||||
| who_updated | varchar | 32 | √ | null | 
                                         | 
                                    
                                         | 
                                    WHO UPDATED is the IDIR or Oracle userid of the person who last updated the record.  | 
                                ||||
| when_updated | timestamp | 29,6 | √ | null | 
                                         | 
                                    
                                         | 
                                    WHEN UPDATED is the date/time that the record was last updated.  | 
                                ||||
| revision_count | int8 | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    REVISION COUNT is used by Hibernate to control optimistic locking  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| oats_compliance_inspections_pkey | Primary key | Asc | compliance_inspection_id | 
| oats_cpin_aadc_fk_i | Performance | Asc | alr_appl_decision_id | 

