Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.SecureDocumentLink ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Columns ===== ^ 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 | | | ===== Primary Key ===== * SecureDocumentLinkID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | SDExpiry | Index | ExpiryDate | | | SDEmail | Index | EmailAddress | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- 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 </code> database/tables/pears_securedocumentlink.txt Last modified: 2026/08/07 19:24by 127.0.0.1