====== pears.ETip ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Shift Import from Email ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **EtipID** | char(20) | NOT NULL | | | | EmploymentID | char(20) | NULL | | | | Description | char(100) | NULL | | | | defunct | tinyint | NULL | | | ===== Primary Key ===== * EtipID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | Employment | EmploymentID | [[database:tables:pears_employment|pears.employment (employmentid)]] | ON DELETE SET NULL | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_etiplog|pears.ETipLog]] | Etip | etipid | EtipID | | [[database:tables:pears_etipregex|pears.ETipRegEx]] | Etip | EtipID | EtipID | ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."ETip" -- Table comment: Shift Import from Email -- Statement count: 3 CREATE TABLE "pears"."ETip" ( "EtipID" char(20) NOT NULL ,"EmploymentID" char(20) NULL ,"Description" char(100) NULL ,"defunct" tinyint NULL ,PRIMARY KEY ("EtipID" ASC) ) go COMMENT ON TABLE "pears"."ETip" IS 'Shift Import from Email' go ALTER TABLE "pears"."ETip" ADD FOREIGN KEY "Employment" ("EmploymentID" ASC) REFERENCES "pears"."employment" ("employmentid") ON DELETE SET NULL go