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 | pears.employment (employmentid) | ON DELETE SET NULL |
Referenced By
| Table | Constraint | Columns | Referenced columns |
|---|---|---|---|
| pears.ETipLog | Etip | etipid | EtipID |
| 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