Added foreign key relations to all core components

This commit is contained in:
Frederick Holland committed 2025-06-19 14:45:58 +10:00
1 parent 3be1e46f69
commit 804b9b2792
4 files changed
+73

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ type DBConversation struct {
DetailsUpdate *time.Time
SemiLiveUpdate *time.Time
JobUpdate *time.Time
Participants []DBParticipant `gorm:"foreignKey:ConversationId;references:Id"`
}
func (DBConversation) TableName() string {