Table of Contents



pears.DataManagementLog

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

Description

GDPR - Records which records have been anonomised for GDPR - and what actions happened. Data cannot be recovered from here.

Columns

Column Type Null Default Comment
DMLogID char(20) NOT NULL
PersonID char(20) NULL
Name char(30) NULL
Appnumber char(12) NULL
WhenEntered timestamp NULL current timestamp
WhoEntered char(20) NULL
Action char(20) NULL View, Email, Print, Delete, Other
OtherDetail long varchar NULL
Outcome long varchar NULL Success or Fail
OutcomeDetail long varchar NULL

Primary Key

Foreign Keys

Referenced By

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."DataManagementLog"
-- Table comment: GDPR - Records which records have been anonomised for GDPR - and what actions happened.  Data cannot be recovered from here.
-- Statement count: 4
 
CREATE TABLE "pears"."DataManagementLog" (
    "DMLogID"                        CHAR(20) NOT NULL
   ,"PersonID"                       CHAR(20) NULL
   ,"Name"                           CHAR(30) NULL
   ,"Appnumber"                      CHAR(12) NULL
   ,"WhenEntered"                    TIMESTAMP NULL DEFAULT CURRENT TIMESTAMP
   ,"WhoEntered"                     CHAR(20) NULL
   ,"Action"                         CHAR(20) NULL
   ,"OtherDetail"                    long VARCHAR NULL
   ,"Outcome"                        long VARCHAR NULL
   ,"OutcomeDetail"                  long VARCHAR NULL
   ,PRIMARY KEY ("DMLogID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."DataManagementLog"."Action" IS 
	'View, Email, Print, Delete, Other'
GO
 
 
COMMENT ON COLUMN "pears"."DataManagementLog"."Outcome" IS 
	'Success or Fail'
GO
 
 
COMMENT ON TABLE "pears"."DataManagementLog" IS 
	'GDPR - Records which records have been anonomised for GDPR - and what actions happened.  Data cannot be recovered from here.'
GO