database:tables:pears_securedocumentlink



pears.SecureDocumentLink

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Column Type Null Default Comment
SecureDocumentLinkID char(20) NOT NULL Points to blob of class S
EmailAddress char(100) NOT NULL
Title char(100) NOT NULL
DownloadsAllowed smallint NULL 1
SuccessfulDownloads smallint NULL 0
ExpiryDate date NULL
Password char(100) NULL For both download attempt AND zip file
PasswordFails smallint NULL 0
DownloadRecord long varchar NULL
  • SecureDocumentLinkID
  • No outgoing foreign keys found.
  • No incoming foreign keys found.
Name Type Columns Detail
SDExpiry Index ExpiryDate
SDEmail Index EmailAddress
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."SecureDocumentLink"
-- Table comment: 
-- Statement count: 5
 
CREATE TABLE "pears"."SecureDocumentLink" (
    "SecureDocumentLinkID"           CHAR(20) NOT NULL
   ,"EmailAddress"                   CHAR(100) NOT NULL
   ,"Title"                          CHAR(100) NOT NULL
   ,"DownloadsAllowed"               SMALLINT NULL DEFAULT 1
   ,"SuccessfulDownloads"            SMALLINT NULL DEFAULT 0
   ,"ExpiryDate"                     DATE NULL
   ,"Password"                       CHAR(100) NULL
   ,"PasswordFails"                  SMALLINT NULL DEFAULT 0
   ,"DownloadRecord"                 long VARCHAR NULL
   ,PRIMARY KEY ("SecureDocumentLinkID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."SecureDocumentLink"."SecureDocumentLinkID" IS 
	'Points to blob of class S'
GO
 
 
COMMENT ON COLUMN "pears"."SecureDocumentLink"."Password" IS 
	'For both download attempt AND zip file'
GO
 
 
CREATE INDEX "SDExpiry" ON "pears"."SecureDocumentLink"
    ( "ExpiryDate" )
GO
 
 
CREATE INDEX "SDEmail" ON "pears"."SecureDocumentLink"
    ( "EmailAddress" )
GO
  • database/tables/pears_securedocumentlink.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1