pears.DeletedTagCompliance

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
tagComplianceid char(20) NULL
taglocation char(3) NULL
tagid char(3) NULL
SMS long varchar NULL
Email 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"."DeletedTagCompliance"
-- 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"."DeletedTagCompliance" (
    "DeletedID"                      INTEGER NOT NULL DEFAULT autoincrement
   ,"InstanceID"                     CHAR(20) NULL
   ,"WhenDeleted"                    DATE NULL
   ,"tagComplianceid"                CHAR(20) NULL
   ,"taglocation"                    CHAR(3) NULL
   ,"tagid"                          CHAR(3) NULL
   ,"SMS"                            long VARCHAR NULL
   ,"Email"                          long VARCHAR NULL
   ,PRIMARY KEY ("DeletedID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."DeletedTagCompliance"."InstanceID" IS 
	'Group all deletes together'
GO
 
 
COMMENT ON COLUMN "pears"."DeletedTagCompliance"."WhenDeleted" IS 
	'Used by cleanup and if multiple deletes'
GO
 
 
COMMENT ON TABLE "pears"."DeletedTagCompliance" 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_deletedtagcompliance.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1