Skip to content

dbo.makesafeMessage ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.makesafeMessage.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentityPrimary key, identity.
2Messagenvarchar(MAX)yesText of the 'leave a message' recorded via the make-safe AI answering system.
3CallerReturnPhonenvarchar(50)yesPhone number the caller provided for a callback.
4DateModifieddatetimenoTimestamp the message was recorded/left (also used as its date/time in message list views).
5StatustinyintnoProcessing/read status code of the message.
6ClaimNumbernvarchar(100)yesInsurance claim number quoted by the caller, matched against primeJobs.clientreference/jobnumber.
7CallerFromPhonenvarchar(50)yesPhone number the call originated from.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
IX_makesafeMessage_DateModifiedNONCLUSTEREDDateModified

Relationships (inferred) ​

FromToConfidence
dbo.elevenLabsConversations.MessageIDdbo.makesafeMessage.IDhigh
dbo.makesafeMessage.ClaimNumberdbo.primeJobs.ClientReferencehigh
dbo.makesafeMessage.ClaimNumberdbo.primeJobs.JobNumberhigh

Referenced by ​

Procedures: dbo.spMakesafeGetAllMessages, dbo.spMakesafeGetMessageFormatted, dbo.spMakesafeGetMessagesPaged, dbo.spMakesafeGetStatsCalls, dbo.spMakesafeInsertMessage, dbo.spMakesafeQueueMessageSMSMessages, dbo.spMakesafeUpdateMessageStatus