DealDocuments table

The DealDocuments table in the Shipfolio schema has 12 columns, keyed by Id, with 1 foreign key to Deals. 2 columns in DealDocumentContents and DealSignatures reference it.

Columns (12)

Columns of the DealDocuments table
ColumnTypeConstraintsDescription
Iduuidprimary key
DealIduuidnot null, references Deals.Id
UploadedByuuidnot null
Kindvarchar(50)not null
FileNamevarchar(200)not null
ContentTypevarchar(120)not null
SizeBytesbigintnot null
Sha256varchar(64)not null
Notevarchar(500)
RequiresSignaturebooleannot null
CreatedAttimestamptznot null
UpdatedAttimestamptznot null

Indexes (1)

  • (DealId) (IX_DealDocuments_DealId)

Relationships