Files
pipu-music/services/api/migrations/00023_social_presence.sql
T
mrleo1nid cd84ceecb2
ci / api / api (push) Successful in 1m11s
ci / db / db (push) Failing after 23s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m29s
ci / ts / ts (packages + web) (push) Successful in 3m15s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m27s
feat(social): show friend presence and require online listening
2026-10-23 12:52:00 +03:00

8 lines
290 B
SQL

-- +goose Up
-- Reachability is independent of music-sharing privacy. Any active client keeps
-- this lease alive; stopping one device cannot mark another device offline.
ALTER TABLE users ADD COLUMN social_seen_at timestamptz;
-- +goose Down
ALTER TABLE users DROP COLUMN social_seen_at;