메모를 업데이트했을 때, 날짜 수정이 최신화가 안된다.
원인은, 현재 created_at으로 날짜를 보여주고 있기 때문이다. created_at은 데이터 생성 시 자동으로 생성해주는 값이다.
last_modified
로 칼람을 추가하자.
https://laros.io/updating-timestamps-automatically-in-supabase
-- Enable MODDATETIME extension
create extension if not exists moddatetime schema extensions;
-- This will set the `updated_at` column on every update
create trigger handle_updated_at before update on YOUR_TABLE_NAME
for each row execute procedure moddatetime (updated_at);
https://www.reddit.com/r/Supabase/comments/154jyml/relation_does_not_exist_error/