10 lines
188 B
MySQL
10 lines
188 B
MySQL
|
create or replace function trigger_updated_at_microseconds_column() returns trigger
|
||
|
language plpgsql
|
||
|
as
|
||
|
$$
|
||
|
BEGIN
|
||
|
NEW.updated_at = now_utc_micro_seconds();
|
||
|
RETURN NEW;
|
||
|
END;
|
||
|
$$;
|