====== pears.MailServer ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Mail Server configuration
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **MailServerID** | char(20) | NOT NULL | | |
| ServerType | char(1) | NOT NULL | | S=SMTP I=IMAP |
| Address | char(200) | NOT NULL | | |
| Port | integer | NULL | | |
| Timeout | integer | NULL | | |
| SSL | smallint | NULL | | |
===== Primary Key =====
* MailServerID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
^ Table ^ Constraint ^ Columns ^ Referenced columns ^
| [[database:tables:pears_agencydetails|pears.agencydetails]] | IMAPServer | IMAPServer | MailServerID |
| [[database:tables:pears_agencydetails|pears.agencydetails]] | SMTPServer | SMTPServer | MailServerID |
===== Indexes =====
* No indexes found.
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."MailServer"
-- Table comment: Mail Server configuration
-- Statement count: 3
CREATE TABLE "pears"."MailServer" (
"MailServerID" char(20) NOT NULL
,"ServerType" char(1) NOT NULL
,"Address" char(200) NOT NULL
,"Port" integer NULL
,"Timeout" integer NULL
,"SSL" smallint NULL
,PRIMARY KEY ("MailServerID" ASC)
)
go
COMMENT ON COLUMN "pears"."MailServer"."ServerType" IS
'S=SMTP I=IMAP'
go
COMMENT ON TABLE "pears"."MailServer" IS
'Mail Server configuration'
go