Check if a listing is still active (#184)

* check if a listing is still active

* upgrade dependencies
This commit is contained in:
Christian Kellner
2025-09-22 09:57:50 +02:00
committed by GitHub
parent 28eddc5d7f
commit c839f3abc9
22 changed files with 487 additions and 179 deletions

View File

@@ -0,0 +1,8 @@
// Migration: there needs to be a unique index on job_id and hash as only
// this makes the listing indeed unique
export function up(db) {
db.exec(`
ALTER TABLE listings ADD COLUMN is_active INTEGER DEFAULT 1;
`);
}