Messages table

The Messages table in the Shipfolio schema has 6 columns, keyed by Id, with 1 foreign key to Conversations. 1 column in MessageReports references it.

Columns (6)

Columns of the Messages table
ColumnTypeConstraintsDescription
Iduuidprimary key
ConversationIduuidnot null, references Conversations.Id
SenderIduuidnot null
Bodyvarchar(4000)not null
CreatedAttimestamptznot null
UpdatedAttimestamptznot null

Indexes (1)

  • (ConversationId, CreatedAt) (IX_Messages_ConversationId_CreatedAt)

Relationships