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.BroadbeanJobBoardAllocation ====== <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 ===== Links to staff records agains BB job board ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **StaffID** | char(20) | NOT NULL | | | | **BroadBeanJobBoardID** | char(20) | NOT NULL | | | | Expiry | date | NULL | | | ===== Primary Key ===== * StaffID, BroadBeanJobBoardID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | staff | StaffID | [[database:tables:pears_staff|pears.staff (staffid)]] | NOT NULL; ON DELETE CASCADE | | BroadbeanJobBoard | BroadBeanJobBoardID | [[database:tables:pears_broadbeanjobboard|pears.BroadbeanJobBoard (BroadbeanJobBoardID)]] | 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"."BroadbeanJobBoardAllocation" -- Table comment: Links to staff records agains BB job board -- Statement count: 4 CREATE TABLE "pears"."BroadbeanJobBoardAllocation" ( "StaffID" char(20) NOT NULL ,"BroadBeanJobBoardID" char(20) NOT NULL ,"Expiry" date NULL ,PRIMARY KEY ("StaffID" ASC,"BroadBeanJobBoardID" ASC) ) go COMMENT ON TABLE "pears"."BroadbeanJobBoardAllocation" IS 'Links to staff records agains BB job board' go ALTER TABLE "pears"."BroadbeanJobBoardAllocation" ADD NOT NULL FOREIGN KEY "staff" ("StaffID" ASC) REFERENCES "pears"."staff" ("staffid") ON DELETE CASCADE go ALTER TABLE "pears"."BroadbeanJobBoardAllocation" ADD NOT NULL FOREIGN KEY "BroadbeanJobBoard" ("BroadBeanJobBoardID" ASC) REFERENCES "pears"."BroadbeanJobBoard" ("BroadbeanJobBoardID") ON DELETE CASCADE go </code> database/tables/pears_broadbeanjobboardallocation.txt Last modified: 2026/08/07 19:24by 127.0.0.1