mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
- Add new question card components (photo, audio, text, who-likely) - Add share preview modal for matches - Add nudge notification system with rate limiting - Add session-based notification improvements - Add match confetti celebration animation - Update onboarding flow with paywall tracking - Remove deprecated swipe card and tutorial components - Update GlassCard/GlassInput to use solid backgrounds - Fix routing issues after packs screen removal
15 lines
671 B
SQL
15 lines
671 B
SQL
-- Add nudge feature support
|
|
-- Allows partners to send reminder notifications with rate limiting
|
|
|
|
-- Add nudge tracking to profiles (for rate limiting)
|
|
ALTER TABLE profiles
|
|
ADD COLUMN IF NOT EXISTS last_nudge_sent_at TIMESTAMPTZ;
|
|
|
|
-- Add nudge preference to notification_preferences
|
|
ALTER TABLE notification_preferences
|
|
ADD COLUMN IF NOT EXISTS nudges_enabled BOOLEAN DEFAULT true;
|
|
|
|
-- Comment for documentation
|
|
COMMENT ON COLUMN profiles.last_nudge_sent_at IS 'Timestamp of last nudge sent to partner (rate limited to once per 12 hours)';
|
|
COMMENT ON COLUMN notification_preferences.nudges_enabled IS 'Whether to receive nudge notifications from partner';
|