pears.PersonWillingnessHistory

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Peak Integration - how willing is someone to work. Generated by 3rd party and sent to IQX

Column Type Null Default Comment
PersonWillingnessHistoryID bigint NOT NULL autoincrement
PersonID char(20) NOT NULL
Willingness smallint NULL
WhenUpdated timestamp NOT NULL current timestamp
  • PersonWillingnessHistoryID
Constraint Columns References Delete/update action
person PersonID pears.Person (personid) NOT NULL; ON DELETE CASCADE
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."PersonWillingnessHistory"
-- Table comment: Peak Integration - how willing is someone to work.  Generated by 3rd party and sent to IQX
-- Statement count: 3
 
CREATE TABLE "pears"."PersonWillingnessHistory" (
    "PersonWillingnessHistoryID"     BIGINT NOT NULL DEFAULT autoincrement
   ,"PersonID"                       CHAR(20) NOT NULL
   ,"Willingness"                    SMALLINT NULL
   ,"WhenUpdated"                    TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP
   ,PRIMARY KEY ("PersonWillingnessHistoryID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."PersonWillingnessHistory" IS 
	'Peak Integration - how willing is someone to work.  Generated by 3rd party and sent to IQX'
GO
 
 
ALTER TABLE "pears"."PersonWillingnessHistory"
    ADD NOT NULL FOREIGN KEY "person" ("PersonID" ASC)
    REFERENCES "pears"."Person" ("personid")
    ON DELETE CASCADE
GO
  • database/tables/pears_personwillingnesshistory.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1