====== pears.WPKChangeTracker ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Gives last ClickCount for each WPKChangeTrackerID - used for detecting need to refresh WPK elements.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **WPKChangeTrackerType** | char(1) | NOT NULL | | Picklist, Switch, Role, Form |
| **WPKChangeTrackerID** | char(50) | NOT NULL | | Applies to Picklist and Form (contains their id). Others set to * |
| ClickCount | integer | NULL | 1 | |
===== Primary Key =====
* WPKChangeTrackerType, WPKChangeTrackerID
===== 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"."WPKChangeTracker"
-- Table comment: Gives last ClickCount for each WPKChangeTrackerID - used for detecting need to refresh WPK elements.
-- Statement count: 4
CREATE TABLE "pears"."WPKChangeTracker" (
"WPKChangeTrackerType" char(1) NOT NULL
,"WPKChangeTrackerID" char(50) NOT NULL INLINE 50 PREFIX 8
,"ClickCount" integer NULL DEFAULT 1
,PRIMARY KEY ("WPKChangeTrackerType" ASC,"WPKChangeTrackerID" ASC)
)
go
COMMENT ON COLUMN "pears"."WPKChangeTracker"."WPKChangeTrackerType" IS
'Picklist, Switch, Role, Form'
go
COMMENT ON COLUMN "pears"."WPKChangeTracker"."WPKChangeTrackerID" IS
'Applies to Picklist and Form (contains their id). Others set to *'
go
COMMENT ON TABLE "pears"."WPKChangeTracker" IS
'Gives last ClickCount for each WPKChangeTrackerID - used for detecting need to refresh WPK elements.'
go