pears.mailerselectionmember
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Candidate/client contacts on mailchimp list.
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| MailerSelectionID | char(20) | NOT NULL | ||
| Record | char(20) | NOT NULL | ||
| DateSubscribed | date | NULL | ||
| char(100) | NULL | |||
| Status | smallint | NULL | ||
| unsubscribe | tinyint | NULL | 0 |
Primary Key
- MailerSelectionID, Record
Foreign Keys
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| mailerselection | MailerSelectionID | pears.mailerselection (MailerSelectionID) | NOT NULL; ON DELETE CASCADE |
Referenced By
- No incoming foreign keys found.
Indexes
- No indexes found.
Triggers
- No triggers found.
Original SQL
-- 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