Files
kin/server/migrations/002_cadence.sql
Marcus Rehbock ac0b82e6a0
Some checks failed
Build & Release APK / build (push) Failing after 13s
Kin: personal relationships app — server (cadence/due/migrations) + Expo Android app
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 00:50:06 -07:00

12 lines
716 B
SQL

-- Relational-wealth fields: how often I want to be in touch with each person,
-- and enough state to drive the "who's due" list.
alter table people add column if not exists cadence_days integer,
add column if not exists snoozed_until date,
add column if not exists archived boolean not null default false,
add column if not exists birthday date;
comment on column people.cadence_days is 'Target days between contacts; null = no reminder for this person';
comment on column people.snoozed_until is 'Hide from the due list until this date';
comment on column people.archived is 'Hidden from lists and due computation, kept for history';