====== pears.psHealthVacancy ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Link to psHealth Case records ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **psHealthVacancyID** | char(20) | NOT NULL | | | | vacancyid | char(20) | NULL | | | | transferbatch | smallint | NOT NULL | 0 | | | tenantBranchId | char(20) | NULL | | | | tenantCaseId | char(20) | NULL | | Vacancy ourref | | tenantCustomerId | char(20) | NULL | | Person appnumber | | startDateTime | timestamp | NULL | | | | Status | char(50) | NULL | | | ===== Primary Key ===== * psHealthVacancyID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."psHealthVacancy" -- Table comment: Link to psHealth Case records -- Statement count: 4 CREATE TABLE "pears"."psHealthVacancy" ( "psHealthVacancyID" char(20) NOT NULL ,"vacancyid" char(20) NULL ,"transferbatch" smallint NOT NULL DEFAULT 0 ,"tenantBranchId" char(20) NULL ,"tenantCaseId" char(20) NULL ,"tenantCustomerId" char(20) NULL ,"startDateTime" timestamp NULL ,"Status" char(50) NULL ,PRIMARY KEY ("psHealthVacancyID" ASC) ) go COMMENT ON COLUMN "pears"."psHealthVacancy"."tenantCaseId" IS 'Vacancy ourref' go COMMENT ON COLUMN "pears"."psHealthVacancy"."tenantCustomerId" IS 'Person appnumber' go COMMENT ON TABLE "pears"."psHealthVacancy" IS 'Link to psHealth Case records' go