Skip to content

Remove the sessions.lastRefreshedAt field - #758

Merged
dowski merged 1 commit into
rebootfrom
dowski/remove-session-refresh-timestamp
Oct 21, 2026
Merged

dowski merged 1 commit into
rebootfrom
dowski/remove-session-refresh-timestamp

Conversation

@dowski

@dowski dowski commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

This allows it to be used as a stable source of data for querying whether a session is live or not.

Previously that field was written during refresh which would invalidate any queries against this table.

Nothing was reading it, so it's being removed while we're still in beta and not left as a vestigal field.

This is a schema breaking change (will need to clear the sessions table before updating).

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
auth-v2 Ready Ready Preview Oct 21, 2026 7:51pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
convex-auth-docs Ignored Ignored Oct 21, 2026 7:51pm UTC

Request Review

dowski commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@dowski
dowski requested a review from Nicolapps October 20, 2026 16:26

@Nicolapps Nicolapps left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! We can always add it again later if we ever get a need for it

@dowski
dowski changed the base branch from dowski/sid-in-jwt to graphite-base/758 October 21, 2026 14:16
@dowski
dowski force-pushed the graphite-base/758 branch from 850b78d to 2423020 Compare October 21, 2026 14:16
@dowski
dowski force-pushed the dowski/remove-session-refresh-timestamp branch from 2fd44f3 to 1ac66fc Compare October 21, 2026 14:16
@dowski
dowski changed the base branch from graphite-base/758 to reboot October 21, 2026 14:16
This allows it to be used as a stable source of data for querying whether a session is live or not.

Previously that field was written during refresh which would invalidate any queries against this table.

Nothing was reading it, so it's being removed while we're still in beta and not left as a vestigal field.

This is a schema breaking change (will need to clear the sessions table before updating).
@dowski
dowski force-pushed the dowski/remove-session-refresh-timestamp branch from 1ac66fc to 47f463e Compare October 21, 2026 19:50
@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@convex-dev/auth@758

commit: 47f463e

This branch was successfully deployed

1 active deployment
Preview – auth-v2 — 47f463ee Deployed Oct 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants