Skip to content

Update Feb 3rd#162

Merged
Deodat-Lawson merged 2 commits intostablefrom
main
Feb 3, 2026
Merged

Update Feb 3rd#162
Deodat-Lawson merged 2 commits intostablefrom
main

Conversation

@Deodat-Lawson
Copy link
Copy Markdown
Owner

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 3, 2026

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

Project Deployment Actions Updated (UTC)
pdr-ai-v2 Ready Ready Preview, Comment Feb 3, 2026 10:21pm

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 515f462590

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +427 to +431
export const documentViews = pgTable(
"document_views",
{
id: serial("id").primaryKey(),
documentId: bigint("document_id", { mode: "bigint" })
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add migration for new document_views table/column

The code adds a new document_views table (and elsewhere a last_active_at column on users) but there is no corresponding SQL migration in drizzle/*.sql for these schema changes. In environments that rely on migrations, the new API routes will error at runtime when they try to insert/query document_views or update users.last_active_at. Please add a migration that creates document_views and adds last_active_at to users (or ensure an equivalent schema update runs in deploy).

Useful? React with 👍 / 👎.

@Deodat-Lawson Deodat-Lawson merged commit 87c3b76 into stable Feb 3, 2026
5 checks passed
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.

1 participant