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.WPKRole ====== <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 ===== Woodpecker Role definitions. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **WPKRoleID** | char(20) | NOT NULL | | | | Name | char(50) | NOT NULL | | | | Notes | long varchar | NULL | | | | RoleGroup | char(30) | NULL | | | | SortOrder | smallint | NULL | | | | CriteriaGroup | smallint | NULL | | | ===== Primary Key ===== * WPKRoleID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | RoleMaint | Index | RoleGroup, SortOrder, Name | | ===== Triggers ===== ^ Name ^ Timing ^ Event ^ | WPKTrackRoleChange | after | insert,delete,update order 1 | ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."WPKRole" -- Table comment: Woodpecker Role definitions. -- Statement count: 5 CREATE TABLE "pears"."WPKRole" ( "WPKRoleID" char(20) NOT NULL ,"Name" char(50) NOT NULL ,"Notes" long varchar NULL ,"RoleGroup" char(30) NULL ,"SortOrder" smallint NULL ,"CriteriaGroup" smallint NULL ,PRIMARY KEY ("WPKRoleID" ASC) ) go COMMENT ON TABLE "pears"."WPKRole" IS 'Woodpecker Role definitions.' go CREATE INDEX "RoleMaint" ON "pears"."WPKRole" ( "RoleGroup","SortOrder","Name" ) go create trigger "WPKTrackRoleChange" after insert,delete,update order 1 on "pears"."WPKRole" for each statement begin call "WPKTrackChange"('R','*') end go COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."WPKRole"."WPKTrackRoleChange" IS {create trigger WPKTrackRoleChange after insert,delete,update order 1 on WPKRole for each statement begin call WPKTrackChange('R','*') end } go </code> database/tables/pears_wpkrole.txt Last modified: 2026/08/07 19:24by 127.0.0.1