Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.psHealthShift ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== REDUNDANT ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **psHealthShiftID** | char(20) | NOT NULL | | | | tempshiftid | char(20) | NULL | | | | tempshiftplanid | char(20) | NULL | | | | transferbatch | smallint | NOT NULL | 0 | | | tenantTaskId | char(20) | NULL | | shift or plan serialnumber | | tenantBranchId | char(20) | NULL | | | | taskTypeId | char(20) | NULL | | | | tenantCarerId | char(20) | NULL | | Person appnumber | | tenantCustomerId | char(20) | NULL | | Person appnumber | | tenantCaseId | char(20) | NULL | | Vacancy ourref | | name | char(50) | NULL | | | | status | char(50) | NULL | | | | startDateTime | timestamp | NULL | | | | endDateTime | timestamp | NULL | | | | updatedDateTime | timestamp | NULL | | | | createdDateTime | timestamp | NULL | | | | addressLineOne | char(50) | NULL | | | | addressLineTwo | char(50) | NULL | | | | addressCity | char(50) | NULL | | | | addressPostcode | char(50) | NULL | | | | addressCounty | char(50) | NULL | | | | addressCountry | char(50) | NULL | | | | addressLatitude | double | NULL | | | | addressLongitude | double | NULL | | | | checkInDateTime | timestamp | NULL | | | | checkOutDateTime | timestamp | NULL | | | | checkInGpsLatitude | double | NULL | | | | checkInGpsLongitude | double | NULL | | | | checkInGpsAltitude | double | NULL | | | | checkInGpsAccuracy | double | NULL | | | | checkInGpsAltitudeAccuracy | double | NULL | | | | checkInNfcId | char(50) | NULL | | | | checkInNfcContent | char(50) | NULL | | | | checkOutGpsLatitude | double | NULL | | | | checkOutGpsLongitude | double | NULL | | | | checkOutGpsAltitude | double | NULL | | | | checkOutGpsAltitudeAccuracy | double | NULL | | | | checkOutNfcId | char(50) | NULL | | | | checkOutNfcContent | char(50) | NULL | | | | isDeleted | smallint | NULL | | 1 or 0 or null | ===== Primary Key ===== * psHealthShiftID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."psHealthShift" -- Table comment: REDUNDANT -- Statement count: 7 CREATE TABLE "pears"."psHealthShift" ( "psHealthShiftID" char(20) NOT NULL ,"tempshiftid" char(20) NULL ,"tempshiftplanid" char(20) NULL ,"transferbatch" smallint NOT NULL DEFAULT 0 ,"tenantTaskId" char(20) NULL ,"tenantBranchId" char(20) NULL ,"taskTypeId" char(20) NULL ,"tenantCarerId" char(20) NULL ,"tenantCustomerId" char(20) NULL ,"tenantCaseId" char(20) NULL ,"name" char(50) NULL ,"status" char(50) NULL ,"startDateTime" timestamp NULL ,"endDateTime" timestamp NULL ,"updatedDateTime" timestamp NULL ,"createdDateTime" timestamp NULL ,"addressLineOne" char(50) NULL ,"addressLineTwo" char(50) NULL ,"addressCity" char(50) NULL ,"addressPostcode" char(50) NULL ,"addressCounty" char(50) NULL ,"addressCountry" char(50) NULL ,"addressLatitude" double NULL ,"addressLongitude" double NULL ,"checkInDateTime" timestamp NULL ,"checkOutDateTime" timestamp NULL ,"checkInGpsLatitude" double NULL ,"checkInGpsLongitude" double NULL ,"checkInGpsAltitude" double NULL ,"checkInGpsAccuracy" double NULL ,"checkInGpsAltitudeAccuracy" double NULL ,"checkInNfcId" char(50) NULL ,"checkInNfcContent" char(50) NULL ,"checkOutGpsLatitude" double NULL ,"checkOutGpsLongitude" double NULL ,"checkOutGpsAltitude" double NULL ,"checkOutGpsAltitudeAccuracy" double NULL ,"checkOutNfcId" char(50) NULL ,"checkOutNfcContent" char(50) NULL ,"isDeleted" smallint NULL ,PRIMARY KEY ("psHealthShiftID" ASC) ) go COMMENT ON COLUMN "pears"."psHealthShift"."tenantTaskId" IS 'shift or plan serialnumber' go COMMENT ON COLUMN "pears"."psHealthShift"."tenantCarerId" IS 'Person appnumber' go COMMENT ON COLUMN "pears"."psHealthShift"."tenantCustomerId" IS 'Person appnumber' go COMMENT ON COLUMN "pears"."psHealthShift"."tenantCaseId" IS 'Vacancy ourref' go COMMENT ON COLUMN "pears"."psHealthShift"."isDeleted" IS '1 or 0 or null' go COMMENT ON TABLE "pears"."psHealthShift" IS 'REDUNDANT' go </code> database/tables/pears_pshealthshift.txt Last modified: 2026/08/07 19:24by 127.0.0.1