CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
0077_session_metadata.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.
| ba9e143 | 1 | -- Migration 0077: Add IP address, user-agent, and last-seen timestamp to sessions. |
| 2 | -- Powers the /settings/sessions management page (SOC 2 session visibility). | |
| 3 | ||
| 4 | ALTER TABLE sessions | |
| 5 | ADD COLUMN IF NOT EXISTS ip text, | |
| 6 | ADD COLUMN IF NOT EXISTS user_agent text, | |
| 7 | ADD COLUMN IF NOT EXISTS last_seen_at timestamp; |