Add a UUIDv4 column to edit_generic as cuuid, add the cuid column to all reads with the cuuid too The cuuid will replace the cuid and remove the EUID as the session login var Moved the adbEditLog to login class as writeLog and renamed the current private writeLog to writeEditLog which is only for internal logging in the class The Backend log class is deprecated and a new get all action var method has been added to get the action vars into the edit log
15 lines
415 B
SQL
15 lines
415 B
SQL
-- AUTHOR: Clemens Schwaighofer
|
|
-- DATE: 2005/07/05
|
|
-- DESCRIPTION:
|
|
-- edit tables, this is the generic table, inheriteded by most edit tables
|
|
-- TABLE: edit_generic
|
|
-- HISTORY:
|
|
|
|
-- DROP TABLE edit_generic;
|
|
CREATE TABLE edit_generic (
|
|
cuid VARCHAR,
|
|
cuuid UUID DEFAULT gen_random_uuid(),
|
|
date_created TIMESTAMP WITHOUT TIME ZONE DEFAULT clock_timestamp(),
|
|
date_updated TIMESTAMP WITHOUT TIME ZONE
|
|
);
|