Skip to content

Commit

Permalink
Fix refresh command
Browse files Browse the repository at this point in the history
  • Loading branch information
dqii committed Sep 19, 2024
1 parent c8298c2 commit 89eb430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/scrape-mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async function fetchMessages() {
}

async function updateMaterializedView() {
await sql`REFRESH MATERIALIZED VIEW CONCURRENTLY messages;`.execute(db);
await sql`REFRESH MATERIALIZED VIEW CONCURRENTLY threads;`.execute(db);
}

async function main() {
Expand Down

0 comments on commit 89eb430

Please sign in to comment.