check if a listing is still active

This commit is contained in:
orangecoding
2025-09-21 15:53:01 +02:00
parent 28eddc5d7f
commit 1e18019c9a
19 changed files with 382 additions and 60 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;
`);
}