mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-21 07:44:37 -04:00
Better Customer data privacy protection (#1949)
This commit is contained in:
1 parent
3e9e144075
commit
fdbdf55e71
13 files changed
+221
-85
No files matched your search
@@ -0,0 +1,15 @@
|
||||
--
|
||||
-- Add support for GDPR utility
|
||||
--
|
||||
|
||||
-- Add columns to customer table for tracking purposes and explicit consent of data registration
|
||||
|
||||
ALTER TABLE `ospos_customers`
|
||||
ADD COLUMN `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
ADD COLUMN `employee_id` int(10) NOT NULL,
|
||||
ADD COLUMN `consent` int(1) NOT NULL DEFAULT '0';
|
||||
|
||||
-- This is to enforce privacy by means of scrambling customer details
|
||||
|
||||
INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('enforce_privacy', '0');
|
||||
Reference in new issue
Block a user