pears.TagCompliance

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

Used for tag with expiry dates - set sms/email messages

Column Type Null Default Comment
tagComplianceid char(20) NOT NULL
taglocation char(3) NULL
tagid char(3) NULL
SMS long varchar NULL
Email long varchar NULL
  • tagComplianceid
Constraint Columns References Delete/update action
tag taglocation, tagid pears.tag (taglocation, tagid) ON DELETE CASCADE
  • No incoming foreign keys found.
Name Type Columns Detail
tagCompliance_id Index taglocation, tagid
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."TagCompliance"
-- Table comment: Used for tag with expiry dates - set sms/email messages
-- Statement count: 4
 
CREATE TABLE "pears"."TagCompliance" (
    "tagComplianceid"                CHAR(20) NOT NULL
   ,"taglocation"                    CHAR(3) NULL
   ,"tagid"                          CHAR(3) NULL
   ,"SMS"                            long VARCHAR NULL
   ,"Email"                          long VARCHAR NULL
   ,PRIMARY KEY ("tagComplianceid" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."TagCompliance" IS 
	'Used for tag with expiry dates - set sms/email messages'
GO
 
 
ALTER TABLE "pears"."TagCompliance"
    ADD FOREIGN KEY "tag" ("taglocation" ASC,"tagid" ASC)
    REFERENCES "pears"."tag" ("taglocation","tagid")
    ON DELETE CASCADE
GO
 
 
CREATE INDEX "tagCompliance_id" ON "pears"."TagCompliance"
    ( "taglocation","tagid" )
GO
  • database/tables/pears_tagcompliance.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1