diff --git a/postgres/init/02_functions.sql b/postgres/init/02_functions.sql index ef5fda0..97aa3fd 100644 --- a/postgres/init/02_functions.sql +++ b/postgres/init/02_functions.sql @@ -8,7 +8,7 @@ CREATE OR REPLACE FUNCTION set_updated_at() RETURNS trigger LANGUAGE plpgsql AS $$ BEGIN - NEW.updated_at := now(); + NEW.updated_at := clock_timestamp(); RETURN NEW; END $$;