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.PersonWillingnessHistory ====== <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 ===== Peak Integration - how willing is someone to work. Generated by 3rd party and sent to IQX ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **PersonWillingnessHistoryID** | bigint | NOT NULL | autoincrement | | | PersonID | char(20) | NOT NULL | | | | Willingness | smallint | NULL | | | | WhenUpdated | timestamp | NOT NULL | current timestamp | | ===== Primary Key ===== * PersonWillingnessHistoryID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | person | PersonID | [[database:tables:pears_person|pears.Person (personid)]] | NOT NULL; ON DELETE CASCADE | ===== 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"."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 </code> database/tables/pears_personwillingnesshistory.txt Last modified: 2026/08/07 19:24by 127.0.0.1