====== pears.TempShiftOrderReason ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
User defined reasons for why shift is requested.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **TempShiftOrderReasonID** | char(20) | NOT NULL | | |
| Description | char(50) | NOT NULL | | |
| SortOrder | smallint | NULL | | |
===== Primary Key =====
* TempShiftOrderReasonID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
^ Table ^ Constraint ^ Columns ^ Referenced columns ^
| [[database:tables:pears_tempshiftorderreasondepartment|pears.TempShiftOrderReasonDepartment]] | TempShiftOrderReason | TempShiftOrderReasonID | TempShiftOrderReasonID |
| [[database:tables:pears_tempshiftplan|pears.TempShiftPlan]] | TempShiftOrderReason | TempShiftOrderReasonID | TempShiftOrderReasonID |
===== Indexes =====
* No indexes found.
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."TempShiftOrderReason"
-- Table comment: User defined reasons for why shift is requested.
-- Statement count: 2
CREATE TABLE "pears"."TempShiftOrderReason" (
"TempShiftOrderReasonID" char(20) NOT NULL
,"Description" char(50) NOT NULL
,"SortOrder" smallint NULL
,PRIMARY KEY ("TempShiftOrderReasonID" ASC)
)
go
COMMENT ON TABLE "pears"."TempShiftOrderReason" IS
'User defined reasons for why shift is requested.'
go