-- Tracks the moment the user's avatar was last (re)written on disk.
--
-- - NULL  → the user has no custom avatar; the UI uses the shared
--           `<AVATAR_PUBLIC_URL>/user/default-avatar.webp`.
-- - DATE  → the user uploaded an avatar. The value doubles as a cache-buster
--           (`?v=<unix-ts>`) so browsers and CDNs fetch the fresh file after
--           every overwrite — the on-disk filename never changes
--           (`avatar.webp`) to keep the path stable.
--
-- The column sits next to the other timestamps for tidy SHOW COLUMNS output.

ALTER TABLE `user`
    ADD COLUMN `avatar_updated_at` DATETIME NULL DEFAULT NULL AFTER `profile_complited_at`;
