Skip to content

Implemented PostgreSQL full-text search on the course table, added a tsvector generated column with GIN index, replaced the ILIKE '%query%' predicate with @@ plainto_tsquery, and added ts_rank relevance-based ordering. Removed an unused test import; entity unchanged since the column is DB-managed. #162

Implemented PostgreSQL full-text search on the course table, added a tsvector generated column with GIN index, replaced the ILIKE '%query%' predicate with @@ plainto_tsquery, and added ts_rank relevance-based ordering. Removed an unused test import; entity unchanged since the column is DB-managed.

Implemented PostgreSQL full-text search on the course table, added a tsvector generated column with GIN index, replaced the ILIKE '%query%' predicate with @@ plainto_tsquery, and added ts_rank relevance-based ordering. Removed an unused test import; entity unchanged since the column is DB-managed. #162

Workflow file for this run

name: Code Cleanup Audit
on:
pull_request:
schedule:
- cron: "0 1 * * 0"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11
- uses: actions/setup-node@v4
with:
node-version: 22
- run: pnpm install --frozen-lockfile
- name: Check unused dependencies
run: npx depcheck
continue-on-error: true