Appearance
eisf database schema
Generated from the EF Core model of Cadence.Apps.Eisf.Infrastructure.Persistence.EisfDbContext, not from a live database. Unqualified tables live in the eisf schema.
| Table | Entity | Columns |
|---|---|---|
eisf.audit_log_entries | AuditLogEntry | 12 |
eisf.eisf_document_records | EisfDocumentRecord | 18 |
eisf.eisf_section_taxonomies | EisfSectionTaxonomy | 6 |
eisf.isf_audit_logs | IsfAuditLog | 11 |
eisf.isf_documents | IsfDocument | 20 |
eisf.audit_log_entries
Entity: AuditLogEntry
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
Action | character varying(50) | no | ||
BlockHash | character varying(64) | no | ||
ChangesJson | text | yes | ||
EntityId | character varying(255) | no | ||
EntityName | character varying(255) | no | ||
PredecessorHash | character varying(64) | no | ||
ReasonForChange | character varying(1000) | no | ||
Timestamp | timestamp with time zone | no | ||
UserId | character varying(255) | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_audit_log_entries_EntityName_Timestamp: (EntityName,Timestamp)IX_audit_log_entries_tenant_id: (tenant_id)
eisf.eisf_document_records
Entity: EisfDocumentRecord
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | character varying(36) | no | PK | |
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
ExpirationDate | timestamp with time zone | yes | ||
FilePath | character varying(500) | no | ||
Filename | character varying(255) | no | ||
IsActive | boolean | no | ||
IsDeleted | boolean | no | ||
ReasonForChange | character varying(1000) | no | ||
SectionCode | character varying(50) | no | ||
Sha256Checksum | character varying(64) | no | ||
SiteId | character varying(255) | no | ||
Status | character varying(50) | no | ||
StudyId | character varying(255) | no | ||
VersionIndex | integer | no | ||
VersionMajor | integer | no | ||
VersionMinor | integer | no | ||
tenant_id | uuid | no |
Indexes:
IX_eisf_document_records_SectionCode: (SectionCode)IX_eisf_document_records_SiteId: (SiteId)IX_eisf_document_records_StudyId: (StudyId)IX_eisf_document_records_tenant_id: (tenant_id)
eisf.eisf_section_taxonomies
Entity: EisfSectionTaxonomy
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
SectionCode | character varying(50) | no | PK | |
Description | character varying(1000) | no | ||
IsMandatory | boolean | no | ||
SectionNumber | character varying(50) | no | ||
Title | character varying(255) | no | ||
tenant_id | uuid | no |
Indexes:
IX_eisf_section_taxonomies_SectionNumber: (SectionNumber)IX_eisf_section_taxonomies_tenant_id: (tenant_id)
eisf.isf_audit_logs
Entity: IsfAuditLog
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | character varying(36) | no | PK | |
Action | character varying(50) | no | ||
ActorId | character varying(255) | no | ||
ActorRole | character varying(255) | no | ||
Details | character varying(1000) | no | ||
DocumentId | character varying(36) | yes | ||
PreviousDigest | character varying(64) | yes | ||
ReasonForChange | character varying(1000) | no | ||
Sha256Digest | character varying(64) | yes | ||
Timestamp | timestamp with time zone | no | ||
tenant_id | uuid | no |
Indexes:
IX_isf_audit_logs_ActorId: (ActorId)IX_isf_audit_logs_DocumentId: (DocumentId)IX_isf_audit_logs_Timestamp: (Timestamp)IX_isf_audit_logs_tenant_id: (tenant_id)
eisf.isf_documents
Entity: IsfDocument
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | character varying(36) | no | PK | |
BinderClassification | character varying(255) | no | ||
Content | text | yes | ||
ContentChecksum | character varying(64) | yes | ||
CorrelationKey | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DocumentOwnerId | character varying(255) | yes | ||
ExpirationDate | timestamp with time zone | yes | ||
Filename | character varying(255) | no | ||
IssueDate | timestamp with time zone | yes | ||
MetadataJson | jsonb | yes | ||
MimeType | character varying(100) | no | ||
ObjectKey | character varying(500) | yes | ||
SiteId | character varying(255) | no | ||
SourceSystem | character varying(100) | no | ||
StudyId | character varying(255) | no | ||
SyncStatus | character varying(50) | no | ||
VersionIndex | integer | no | ||
tenant_id | uuid | no |
Indexes:
IX_isf_documents_BinderClassification: (BinderClassification)IX_isf_documents_CorrelationKey: (CorrelationKey)IX_isf_documents_DocumentOwnerId: (DocumentOwnerId)IX_isf_documents_ExpirationDate: (ExpirationDate)IX_isf_documents_IssueDate: (IssueDate)IX_isf_documents_ObjectKey: (ObjectKey)IX_isf_documents_SiteId: (SiteId)IX_isf_documents_StudyId: (StudyId)IX_isf_documents_tenant_id: (tenant_id)