CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
0081_onboarding_emails.sql
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| f65f600 | 1 | -- Onboarding email drip sequence — tracks which drip emails each user has |
| 2 | -- already received so they are never sent twice. The `emails_sent` jsonb | |
| 3 | -- column is a set of string keys (e.g. "welcome", "day1", "day3"). | |
| 4 | -- | |
| 5 | -- Strictly additive — no existing table or column is touched. | |
| 6 | ||
| 7 | ALTER TABLE "users" | |
| 8 | ADD COLUMN IF NOT EXISTS "onboarding_emails_sent" jsonb NOT NULL DEFAULT '[]'::jsonb; |