Skip to content

Commit

Permalink
fix: ignore last_auth_at to update modified_at on users table (#8091
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 5483d12)
  • Loading branch information
keita-determined authored and determined-ci committed Oct 6, 2023
1 parent b086b84 commit 3c5b281
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DROP TRIGGER IF EXISTS autoupdate_users_modified_at ON users;

CREATE TRIGGER autoupdate_users_modified_at
BEFORE INSERT OR UPDATE OF password_hash, admin, active, display_name, remote ON public.users
FOR EACH ROW
EXECUTE PROCEDURE public.set_modified_time();

0 comments on commit 3c5b281

Please sign in to comment.