pears.mailerselectionmember

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

Candidate/client contacts on mailchimp list.

Column Type Null Default Comment
MailerSelectionID char(20) NOT NULL
Record char(20) NOT NULL
DateSubscribed date NULL
email char(100) NULL
Status smallint NULL
unsubscribe tinyint NULL 0
  • MailerSelectionID, Record
Constraint Columns References Delete/update action
mailerselection MailerSelectionID pears.mailerselection (MailerSelectionID) NOT NULL; ON DELETE CASCADE
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."mailerselectionmember"
-- Table comment: Candidate/client contacts on mailchimp list.
-- Statement count: 3
 
CREATE TABLE "pears"."mailerselectionmember" (
    "MailerSelectionID"              CHAR(20) NOT NULL
   ,"Record"                         CHAR(20) NOT NULL
   ,"DateSubscribed"                 DATE NULL
   ,"email"                          CHAR(100) NULL
   ,"Status"                         SMALLINT NULL
   ,"unsubscribe"                    tinyint NULL DEFAULT 0
   ,PRIMARY KEY ("MailerSelectionID" ASC,"Record" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."mailerselectionmember" IS 
	'Candidate/client contacts on mailchimp list.'
GO
 
 
ALTER TABLE "pears"."mailerselectionmember"
    ADD NOT NULL FOREIGN KEY "mailerselection" ("MailerSelectionID" ASC)
    REFERENCES "pears"."mailerselection" ("MailerSelectionID")
    ON DELETE CASCADE
GO
  • database/tables/pears_mailerselectionmember.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1