pears.DeletedTagValue

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

Record of deleted tag data. Purpose to save time recovering data if tag deleted by mistake. Cleared after 6 months

Column Type Null Default Comment
DeletedID integer NOT NULL autoincrement
InstanceID char(20) NULL Group all deletes together
WhenDeleted date NULL Used by cleanup and if multiple deletes
taglocation char(3) NULL
tagid char(3) NULL
tagchoiceid char(4) NULL
tagvalueid integer NULL
id char(20) NULL
value double NULL
textvalue long varchar NULL
  • DeletedID
  • No outgoing foreign keys found.
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."DeletedTagValue"
-- Table comment: Record of deleted tag data. Purpose to save time recovering data if tag deleted by mistake. Cleared after 6 months
-- Statement count: 4
 
CREATE TABLE "pears"."DeletedTagValue" (
    "DeletedID"                      INTEGER NOT NULL DEFAULT autoincrement
   ,"InstanceID"                     CHAR(20) NULL
   ,"WhenDeleted"                    DATE NULL
   ,"taglocation"                    CHAR(3) NULL
   ,"tagid"                          CHAR(3) NULL
   ,"tagchoiceid"                    CHAR(4) NULL
   ,"tagvalueid"                     INTEGER NULL
   ,"id"                             CHAR(20) NULL
   ,"value"                          DOUBLE NULL
   ,"textvalue"                      long VARCHAR NULL
   ,PRIMARY KEY ("DeletedID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."DeletedTagValue"."InstanceID" IS 
	'Group all deletes together'
GO
 
 
COMMENT ON COLUMN "pears"."DeletedTagValue"."WhenDeleted" IS 
	'Used by cleanup and if multiple deletes'
GO
 
 
COMMENT ON TABLE "pears"."DeletedTagValue" IS 
	'Record of deleted tag data. Purpose to save time recovering data if tag deleted by mistake. Cleared after 6 months'
GO
  • database/tables/pears_deletedtagvalue.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1