Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
"scripts": {
"build": "tsc",
"dev": "tsx watch src/index.ts",
"backfill:bot-flags": "tsx src/scripts/backfill-bot-flags.ts",
"backfill:attribution": "tsx src/scripts/backfill-attribution.ts",
"migrate": "tsx src/scripts/migrate.ts",
"test": "vitest run",
"test:watch": "vitest",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export async function initializeDatabase(options: DatabaseOptions = {}) {
// Bot classification columns on click_events (SIT-298). Classified at
// ingestion (see lib/bot-detection.ts) and persisted so every consumer reads
// one consistent flag; analytics excludes is_bot rows. Backward compatible:
// legacy rows default to is_bot=false until the one-time backfill runs.
// legacy rows default to is_bot=false and age out of the retention window.
await client.query(`
DO $$
BEGIN
Expand Down
50 changes: 0 additions & 50 deletions src/scripts/backfill-attribution.ts

This file was deleted.

55 changes: 0 additions & 55 deletions src/scripts/backfill-bot-flags.ts

This file was deleted.

Loading