Skip to content

Conversation

@catdevnull
Copy link
Owner

Fix scraper saving endpoints for PostgreSQL Drizzle ORM compatibility and add comprehensive tests.

The scraper endpoints were failing after the PostgreSQL migration due to incorrect Drizzle ORM onConflict syntax (e.g., missing target for onConflictDoNothing and incorrect target type for onConflictDoUpdate). This PR updates the queries to be PostgreSQL-compatible and introduces a comprehensive Vitest test suite to ensure functionality and prevent future regressions.

@catdevnull catdevnull merged commit 757083d into master Jul 8, 2025
1 of 2 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.

3 participants