From 516117207bbb3cca9723651b73941a2d1a5dca53 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 10 Mar 2024 20:31:56 +0900 Subject: Add function to update `updated_at` column. --- verify/update_updated_at.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 verify/update_updated_at.sql (limited to 'verify') diff --git a/verify/update_updated_at.sql b/verify/update_updated_at.sql new file mode 100644 index 0000000..59c71be --- /dev/null +++ b/verify/update_updated_at.sql @@ -0,0 +1,9 @@ +-- Verify diary:update_updated_at on pg + +BEGIN; + +SET search_path to diary; + +SELECT has_function_privilege('update_updated_at()', 'EXECUTE'); + +ROLLBACK; -- cgit v1.2.3