From 4971f62490580a992dc738d3143b631556b8e8a7 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 13 Dec 2024 11:41:14 +0900 Subject: [PATCH] ecuid name fix in test file --- 4dev/database/table/edit_log.sql | 4 ++-- .../ACL/database/CoreLibsACLLogin_database_create_data.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4dev/database/table/edit_log.sql b/4dev/database/table/edit_log.sql index 5c492849..7edd8da5 100644 --- a/4dev/database/table/edit_log.sql +++ b/4dev/database/table/edit_log.sql @@ -10,8 +10,8 @@ CREATE TABLE edit_log ( edit_log_id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, euid INT, -- this is a foreign key, but I don't nedd to reference to it FOREIGN KEY (euid) REFERENCES edit_user (edit_user_id) MATCH FULL ON UPDATE CASCADE ON DELETE SET NULL, - ecuid VARCHAR, - ecuuid UUID, -- this is the one we want to use, full UUIDv4 from the edit user table + eucuid VARCHAR, + eucuuid UUID, -- this is the one we want to use, full UUIDv4 from the edit user table -- date_created equal, but can be overridden event_date TIMESTAMP WITHOUT TIME ZONE DEFAULT CURRENT_TIMESTAMP, -- session ID if set diff --git a/4dev/tests/ACL/database/CoreLibsACLLogin_database_create_data.sql b/4dev/tests/ACL/database/CoreLibsACLLogin_database_create_data.sql index 7caaf1c3..1b6855b5 100644 --- a/4dev/tests/ACL/database/CoreLibsACLLogin_database_create_data.sql +++ b/4dev/tests/ACL/database/CoreLibsACLLogin_database_create_data.sql @@ -652,8 +652,8 @@ CREATE TABLE edit_log ( edit_log_id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, euid INT, -- this is a foreign key, but I don't nedd to reference to it FOREIGN KEY (euid) REFERENCES edit_user (edit_user_id) MATCH FULL ON UPDATE CASCADE ON DELETE SET NULL, - ecuid VARCHAR, - ecuuid UUID, -- this is the one we want to use, full UUIDv4 from the edit user table + eucuid VARCHAR, + eucuuid UUID, -- this is the one we want to use, full UUIDv4 from the edit user table -- date_created equal, but can be overridden event_date TIMESTAMP WITHOUT TIME ZONE DEFAULT CURRENT_TIMESTAMP, -- session ID if set