CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
0050_terms_acceptance.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.
| c63b860 | 1 | -- Block P3 — Terms acceptance audit trail. |
| 2 | -- New register requires a Terms / Privacy checkbox. Record when the user | |
| 3 | -- accepted and the version they accepted. Future Terms changes bump | |
| 4 | -- `terms_version`; the UI surfaces an "accept again" prompt when the | |
| 5 | -- stored value falls behind the current canonical version. | |
| 6 | ALTER TABLE users | |
| 7 | ADD COLUMN IF NOT EXISTS terms_accepted_at timestamptz, | |
| 8 | ADD COLUMN IF NOT EXISTS terms_version text; |