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
688 B
SQL
15 lines
688 B
SQL
-- Add onboarding_version column to track which version of onboarding users completed
|
|
-- This allows forcing users through re-onboarding when new data is required
|
|
|
|
ALTER TABLE profiles
|
|
ADD COLUMN onboarding_version INTEGER DEFAULT 0;
|
|
|
|
-- Set existing users who completed onboarding to version 1
|
|
-- New users will default to 0 and need to complete the current version
|
|
UPDATE profiles
|
|
SET onboarding_version = 1
|
|
WHERE onboarding_completed = true;
|
|
|
|
-- Add comment for documentation
|
|
COMMENT ON COLUMN profiles.onboarding_version IS 'Version of onboarding flow completed. 0 = never completed, 1+ = completed that version. Used to force re-onboarding when new data is required.';
|