GeneX Development Supported By
|
GeneX-2.0 DB: Audit Table
|
GeneX-2.0 DB: Audit Table
|
| Table Type | Inherits | Comment |
| DATA | none | The Audit table tracks changes to the individual rows of other tables. |
| Column Information |
| Column Name | Full Name | Data Type | Not NULL | Comment |
| audit_fk | Audit | int | false | The audit entry when this data was last modified, it will be null if it is the creation event. We set the write_sql attribute to be false so that Postgres doesn't put a constraint on this column. It is automatically set by a trigger. |
| audit_pk | Accession Number | serial | false | |
| modification_date | Modification Date | datetime | true | the date when this entry was last modified |
| modified_by | Modified By | name | false | the DB user who made the last modification on this entry |
| Primary Key Information |
| Column Name |
| audit_pk |
| Foreign Key Information |
| Column Name | Foreign Table | Primary Key in Foreign Table | Foreign Key Type |
| audit_fk | Audit | audit_pk | ONE_TO_ONE |
| Unique Column Information |
| Column Names |
| Index Information |
| Name | Column Name |
|